Merge pull request #501 from tirkarthi/fix-warnings

Fix deprecation warning regarding invalid escape sequences.
This commit is contained in:
Venelin Stoykov 2020-05-05 23:31:26 +03:00 committed by GitHub
commit f5bc3ae011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ execfile(os.path.join(os.path.dirname(__file__), '..', 'imagekit',
# built documents.
#
# The short X.Y version.
version = re.match('\d+\.\d+', pkgmeta['__version__']).group()
version = re.match(r'\d+\.\d+', pkgmeta['__version__']).group()
# The full version, including alpha/beta/rc tags.
release = pkgmeta['__version__']