Skip to content

Commit

Permalink
Update sync_status_readme.py support many _ in file
Browse files Browse the repository at this point in the history
  • Loading branch information
DerickIT authored Jul 28, 2024
1 parent 329c325 commit 5cb88dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync_status_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def check_weekly_status(user_status, date, user_tz):


def get_all_user_files():
return [f.split('_')[0] for f in os.listdir('.')
return [f[:-len(FILE_SUFFIX)] for f in os.listdir('.')
if f.endswith(FILE_SUFFIX) and not f.startswith('Template')]


Expand Down

0 comments on commit 5cb88dc

Please sign in to comment.