create file when writing!

This commit is contained in:
Nikos Kouremenos 2005-08-18 19:46:50 +00:00
parent 8b59fd03f3
commit 4edf5e69ea
1 changed files with 0 additions and 2 deletions

View File

@ -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: