Fix the folder creation for roster changes
This commit is contained in:
parent
e40a3d72f5
commit
3e7353758e
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue