summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-08-04 11:06:05 +0200
committermathieui <mathieui@mathieui.net>2013-08-04 11:06:05 +0200
commit135ef1b364c04fc4b38702faf84e8f42e7ac49d1 (patch)
tree6f7088c32db26aa2ed7a69e5b867d03a1d9e11e2
parentdecb2bb27e1850f659195890ee1e71a462f81248 (diff)
downloadpoezio-135ef1b364c04fc4b38702faf84e8f42e7ac49d1.tar.gz
poezio-135ef1b364c04fc4b38702faf84e8f42e7ac49d1.tar.bz2
poezio-135ef1b364c04fc4b38702faf84e8f42e7ac49d1.tar.xz
poezio-135ef1b364c04fc4b38702faf84e8f42e7ac49d1.zip
Fix a traceback on get_logs
-rw-r--r--src/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.py b/src/logger.py
index 01856e7b..00f54f6e 100644
--- a/src/logger.py
+++ b/src/logger.py
@@ -98,7 +98,7 @@ class Logger(object):
fd = open(os.path.join(log_dir, jid), 'rb')
except:
log.error('Unable to open the log file (%s)',
- os.path.join(log_dir, room),
+ os.path.join(log_dir, jid),
exc_info=True)
return
if not fd: