create file when writing!
This commit is contained in:
parent
8b59fd03f3
commit
4edf5e69ea
|
@ -119,8 +119,6 @@ class Logger:
|
|||
show = nick
|
||||
for f in files:
|
||||
path_to_file = os.path.join(LOGPATH, f)
|
||||
if not os.path.isfile(path_to_file):
|
||||
return
|
||||
fil = open(path_to_file, 'a')
|
||||
fil.write('%s:%s:%s' % (tim, jid, show))
|
||||
if msg:
|
||||
|
|
Loading…
Reference in New Issue