mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-03 16:14:10 +01:00
Fix syntax DeprecationWarning.
This commit is contained in:
parent
74f86654b1
commit
40155ede22
@ -41,7 +41,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
pytz = None
|
pytz = None
|
||||||
|
|
||||||
_IANA_TZ_RE = re.compile("([\w_-]+/)*[\w_-]+")
|
_IANA_TZ_RE = re.compile(r"([\w_-]+/)*[\w_-]+")
|
||||||
|
|
||||||
class TimezoneException(Exception):
|
class TimezoneException(Exception):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user