Skip to content

Commit

Permalink
fix: date format error
Browse files Browse the repository at this point in the history
  • Loading branch information
tangyoha committed Oct 31, 2023
1 parent 54f0883 commit 530784b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async def _get_media_meta(
dirname = validate_title(f"{message.chat.title}")

if message.date:
datetime_dir_name = message.darte.strftime(app.date_format)
datetime_dir_name = message.date.strftime(app.date_format)
else:
datetime_dir_name = "0"

Expand Down

0 comments on commit 530784b

Please sign in to comment.