diff options
| author | Roald de Vries <rdevries@thoughtworks.com> | 2016-09-19 12:04:17 +0200 | 
|---|---|---|
| committer | Roald de Vries <rdevries@thoughtworks.com> | 2016-09-21 14:43:32 +0200 | 
| commit | 108a31229e7f98c9c5743198e95332b5f869af9b (patch) | |
| tree | be0e21778816972f6e3bb89caba3c188315d7248 | |
| parent | 129b80e7b689dc5408ac350c4ebd25b5900d193e (diff) | |
use absolute path to manhole config
| -rw-r--r-- | service/pixelated/application.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/application.py b/service/pixelated/application.py index 30846455..03b4417f 100644 --- a/service/pixelated/application.py +++ b/service/pixelated/application.py @@ -195,8 +195,8 @@ def start_site(config, resource):      if config.manhole:          log.info('Starting the manhole on port 8008') -        passwdFile, namespace = 'passwd', globals() -        checker = FilePasswordDB(passwdFile) +        passwdFile = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'passwd') +        namespace = globals()          multiService = manhole_tap.makeService(dict(namespace=globals(),                                                      telnetPort='8008',  | 
