1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 16:36:48 +00:00

[utils] Remove debugging codes

This commit is contained in:
Yen Chi Hsuan 2016-05-26 22:54:16 +08:00
parent ac88d2316e
commit 293c255688
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

@ -1050,8 +1050,6 @@ def unified_strdate(date_str, day_first=True):
]) ])
for expression in format_expressions: for expression in format_expressions:
try: try:
print(expression)
print(date_str)
upload_date = datetime.datetime.strptime(date_str, expression).strftime('%Y%m%d') upload_date = datetime.datetime.strptime(date_str, expression).strftime('%Y%m%d')
except ValueError: except ValueError:
pass pass