Skip to content

Commit

Permalink
Process files in alpha order
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronmurphy committed Feb 13, 2024
1 parent 72063bb commit 21948be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion organise_tv_shows/processor/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(
self.config = config

def process(self):
for filename in os.listdir(self.config.complete_downloads_path):
for filename in sorted(os.listdir(self.config.complete_downloads_path)):
path = os.path.join(self.config.complete_downloads_path, filename)
media = Media(filename, path)

Expand Down

0 comments on commit 21948be

Please sign in to comment.