-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script and description added #1393
base: master
Are you sure you want to change the base?
Conversation
👇 Click on the image for a new way to code review
Legend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take a look at the comment i made. Other than that this looks OK to me.
"""getting all the files that have been put to the sorting folder by user and | ||
extending them to our files list to sort them in the future""" | ||
|
||
files.extend(list(os.walk(source_path))[0][2]) # extending the list of all the files in a source path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has problems when the input is a .
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just pushed a new commit fixing this issue
Description
This is a simple script that sorts the files from a given directory by their extensions.
Fixes #1392
Replace
issue_no
with the issue number which is fixed in this PRType of change
Please delete options that are not relevant.
Checklist:
README.md