Commits

David Bennett committed 5487510

pep8

  • Participants
  • Parent commits 690273c

Comments (0)

Files changed (1)

File private_media/utils.py

 def xor_crypt_string(data, key=None):
     if key is None:
         key = settings.PRIVATE_MEDIA_ENCODE_KEY
-    return ''.join(chr(ord(x) ^ ord(y)) for (x,y) in izip(data, cycle(key)))
+    return ''.join(chr(ord(x) ^ ord(y)) for (x, y) in izip(data, cycle(key)))
 
 
 def encode_key(key):