Fix syntax DeprecationWarning.

This commit is contained in:
Valentin Lorentz 2022-01-09 14:10:15 +01:00
parent 74f86654b1
commit 40155ede22
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ try:
except ImportError:
pytz = None
_IANA_TZ_RE = re.compile("([\w_-]+/)*[\w_-]+")
_IANA_TZ_RE = re.compile(r"([\w_-]+/)*[\w_-]+")
class TimezoneException(Exception):
pass