mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5732 (python function terminated unexpectedly redefinition of group name 'w' as group 4; was group 3)
This commit is contained in:
parent
a10091170b
commit
fa5b55b084
@ -31,7 +31,7 @@ class SafeLocalTimeZone(tzlocal):
|
||||
def compute_locale_info_for_parse_date():
|
||||
try:
|
||||
dt = datetime.strptime('1/5/2000', "%x")
|
||||
except ValueError:
|
||||
except:
|
||||
try:
|
||||
dt = datetime.strptime('1/5/01', '%x')
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user