Possible win32 fix for loading the filesystem pickle

git-svn-id: https://kippo.googlecode.com/svn/trunk@125 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
desaster
2010-06-17 06:11:23 +00:00
parent f1381d2e96
commit 909985c63a

View File

@@ -316,7 +316,7 @@ class HoneyPotEnvironment(object):
globals(), locals(), ['commands'])
self.commands.update(module.commands)
self.fs = pickle.load(file(
self.cfg.get('honeypot', 'filesystem_file')))
self.cfg.get('honeypot', 'filesystem_file'), 'rb'))
class HoneyPotRealm:
implements(portal.IRealm)