'debug' wasn't an imported log function, like I thought it was, assuming 'fatal' was also available.

This commit is contained in:
Jeremy Fincher 2009-04-27 11:09:37 -05:00
parent 92e2046b81
commit f51928d93b
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ if __name__ == '__main__':
try:
file(options.pidfile, 'r+')
except EnvironmentError, e:
fatal('pidfile (%s) is not writable: %s', options.pidfile, e)
debug('pidfile (%s) is not writable: %s', options.pidfile, e)
sys.exit(-1)
debug('Bot not found, starting.')
home = os.environ['HOME']