瀏覽代碼

Explicitly set variable in __init__

oz123 10 年之前
父節點
當前提交
a0ed8de04f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pwman/util/crypto_engine.py

+ 1 - 0
pwman/util/crypto_engine.py

@@ -122,6 +122,7 @@ class CryptoEngine(object):  # pagma: no cover
         self._cipher = None
         self._reader = reader
         self._callback = None
+        self._getsecret = None  # This is set in callback.setter
 
     def authenticate(self, password):
         """