Skip to content

Commit

Permalink
Sort the glob output for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
fcooper8472 committed Jan 2, 2024
1 parent 070a76e commit 770c71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution_zoo/base_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def info(self):

with code:

all_code_files = list((self.data_dir / 'code').glob('*'))
all_code_files = sorted(list((self.data_dir / 'code').glob('*')))

if len(all_code_files) > 0:

Expand Down

0 comments on commit 770c71d

Please sign in to comment.