From 3e7353758ead6254010296abd04e5871dfaa0df7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 6 Aug 2013 19:07:44 +0200 Subject: Fix the folder creation for roster changes --- src/logger.py | 1 + 1 file changed, 1 insertion(+) 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') -- cgit v1.2.3