heh, this import will always fail unless we have 'os' handy
This commit is contained in:
parent
860edff9f4
commit
90a577c775
|
@ -99,6 +99,7 @@ DISCONNECT_SERVICE_NOT_AVAILABLE, DISCONNECT_AUTH_CANCELLED_BY_USER, \
|
||||||
from Crypto.Util.randpool import PersistentRandomPool, RandomPool
|
from Crypto.Util.randpool import PersistentRandomPool, RandomPool
|
||||||
|
|
||||||
# keep a crypto-strong PRNG nearby
|
# keep a crypto-strong PRNG nearby
|
||||||
|
import os
|
||||||
try:
|
try:
|
||||||
randpool = PersistentRandomPool(os.path.join(os.path.expanduser('~'), '/.randpool'))
|
randpool = PersistentRandomPool(os.path.join(os.path.expanduser('~'), '/.randpool'))
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue