aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pandora/transport.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pandora/transport.py b/pandora/transport.py
index c3fc71c..aeba50d 100644
--- a/pandora/transport.py
+++ b/pandora/transport.py
@@ -320,9 +320,9 @@ class Encryptor(object):
320 API request and response. It handles the formats that the API expects. 320 API request and response. It handles the formats that the API expects.
321 """ 321 """
322 322
323 def __init__(self, in_key, out_key): 323 def __init__(self, in_key, out_key, crypto_class=CryptographyBlowfish):
324 self.bf_out = CryptographyBlowfish(out_key) 324 self.bf_out = crypto_class(out_key)
325 self.bf_in = CryptographyBlowfish(in_key) 325 self.bf_in = crypto_class(in_key)
326 326
327 @staticmethod 327 @staticmethod
328 def _decode_hex(data): 328 def _decode_hex(data):