Skip to content
Snippets Groups Projects
Commit 4edf5e69 authored by nkour's avatar nkour
Browse files

create file when writing!

parent 8b59fd03
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment