summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/logger.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index e010381b..c9ee525d 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -77,6 +77,7 @@ class Logger(object):
pass
def close(self, jid):
+ jid = str(jid).replace('/', '\\')
if jid in self._fds:
self._fds[jid].close()
log.debug('Log file for %s closed.', jid)