We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc6981f commit 7207bdaCopy full SHA for 7207bda
flattentool/ODSReader.py
@@ -23,7 +23,10 @@
23
from odf.table import Table, TableCell, TableRow
24
25
# Backport for datetime.fromisoformat, which is new in Python 3.7
26
-backports.datetime_fromisoformat.MonkeyPatch.patch_fromisoformat()
+try:
27
+ _ = datetime.fromisoformat
28
+except AttributeError:
29
+ backports.datetime_fromisoformat.MonkeyPatch.patch_fromisoformat()
30
31
32
# http://stackoverflow.com/a/4544699/1846474
0 commit comments