summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-08 15:53:23 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-12-08 14:53:23 -0600
commit43483e328856c43e397e2a35eabd5875b12dd43a (patch)
treed4e718afde02d61dea7b6e345d933b20f36cdaa7
parentfcebaa0db74dc822877128e57a79dcfda2a2dc4f (diff)
downloadpy-bcrypt-git-43483e328856c43e397e2a35eabd5875b12dd43a.tar.gz
Fix "invalid escape sequence" warnings on Python 3.6 (#98)
-rw-r--r--src/bcrypt/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bcrypt/__init__.py b/src/bcrypt/__init__.py
index 301ccb6..049e454 100644
--- a/src/bcrypt/__init__.py
+++ b/src/bcrypt/__init__.py
@@ -36,7 +36,7 @@ __all__ = [
]
-_normalize_re = re.compile(b"^\$2y\$")
+_normalize_re = re.compile(br"^\$2y\$")
def gensalt(rounds=12, prefix=b"2b"):