summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-08-06 19:07:44 +0200
committermathieui <mathieui@mathieui.net>2013-08-06 19:07:44 +0200
commit3e7353758ead6254010296abd04e5871dfaa0df7 (patch)
tree844ed7f4cd74e8533b41d359083011fb0757cfaf /src
parente40a3d72f532a9bc41339a8597a52e77a1a3ff98 (diff)
downloadpoezio-3e7353758ead6254010296abd04e5871dfaa0df7.tar.gz
poezio-3e7353758ead6254010296abd04e5871dfaa0df7.tar.bz2
poezio-3e7353758ead6254010296abd04e5871dfaa0df7.tar.xz
poezio-3e7353758ead6254010296abd04e5871dfaa0df7.zip
Fix the folder creation for roster changes
Diffstat (limited to 'src')
-rw-r--r--src/logger.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logger.py b/src/logger.py
index 3fced6c1..aee7812f 100644
--- a/src/logger.py
+++ b/src/logger.py
@@ -231,6 +231,7 @@ class Logger(object):
"""
if config.get_by_tabname('use_log', 'false', jid) != 'true':
return True
+ self.check_and_create_log_dir('', open_fd=False)
if not self.roster_logfile:
try:
self.roster_logfile = open(os.path.join(log_dir, 'roster.log'), 'a')