From 5d1a22dee6c72b9e2eb9c083117c625ee93121ec Mon Sep 17 00:00:00 2001 From: desaster Date: Sun, 22 Nov 2009 08:09:59 +0000 Subject: [PATCH] config fix git-svn-id: https://kippo.googlecode.com/svn/trunk@53 951d7100-d841-11de-b865-b3884708a8e2 --- kippo/commands/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kippo/commands/base.py b/kippo/commands/base.py index 79637ec7..595f0319 100644 --- a/kippo/commands/base.py +++ b/kippo/commands/base.py @@ -5,7 +5,7 @@ import os, time from kippo.core.honeypot import HoneyPotCommand from kippo.core.fs import * from twisted.internet import reactor -import config +from kippo.core.config import config commands = {} @@ -24,7 +24,7 @@ class command_cat(HoneyPotCommand): f = self.fs.getfile(path) realfile = self.fs.realfile(f, - '%s/%s' % (config.contents_path, path)) + '%s/%s' % (config().contents_path, path)) if realfile: f = file(realfile, 'rb') self.write(f.read())