mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-03 18:43:36 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ def _isdst(self, dt):
|
|||
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…
Reference in a new issue