X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e0de41ae1e67c230ad1e67f34f6f4f76e53d7234..cb6cfc1c84798ac22313e3e44cd00ff5da601575:/apps/catalogue/utils.py?ds=inline

diff --git a/apps/catalogue/utils.py b/apps/catalogue/utils.py
index 36bd9e700..e44b3792f 100644
--- a/apps/catalogue/utils.py
+++ b/apps/catalogue/utils.py
@@ -19,7 +19,7 @@ MAX_SESSION_KEY = 18446744073709551616L     # 2 << 63
 
 
 def get_random_hash(seed):
-    sha_digest = sha_constructor('%s%s%s%s' % 
+    sha_digest = sha_constructor('%s%s%s%s' %
         (randrange(0, MAX_SESSION_KEY), time.time(), unicode(seed).encode('utf-8', 'replace'),
         settings.SECRET_KEY)).digest()
     return urlsafe_b64encode(sha_digest).replace('=', '').replace('_', '-').lower()