Changeset 3117 for trunk/src

Show
Ignore:
Timestamp:
08/18/05 21:46:50 (3 years ago)
Author:
nk
Message:

create file when writing!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/logger.py

    r3044 r3117  
    120120                for f in files: 
    121121                        path_to_file = os.path.join(LOGPATH, f) 
    122                         if not os.path.isfile(path_to_file): 
    123                                 return 
    124122                        fil = open(path_to_file, 'a') 
    125123                        fil.write('%s:%s:%s' % (tim, jid, show))