diff options
author | mathieui <mathieui@mathieui.net> | 2013-08-06 19:07:44 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-08-06 19:07:44 +0200 |
commit | 3e7353758ead6254010296abd04e5871dfaa0df7 (patch) | |
tree | 844ed7f4cd74e8533b41d359083011fb0757cfaf /src/logger.py | |
parent | e40a3d72f532a9bc41339a8597a52e77a1a3ff98 (diff) | |
download | poezio-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/logger.py')
-rw-r--r-- | src/logger.py | 1 |
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') |