Changeset 80 for trunk/tool

Show
Ignore:
Timestamp:
11/06/08 10:38:20 (14 years ago)
Author:
andreu
Message:

bug correction in prefix reading

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tool/renetcolGUI.py

    r77 r80  
    3434os.environ['PATH'] += ";%s/lib;%s/bin" % (gtkdir, gtkdir) 
    3535 
     36import operator 
    3637import threading 
    3738import string 
     
    308309                    myliste += [str(self.flow[1][i])] 
    309310        theflow = string.join(myliste, "\t")+"\t"+fromRouter+"\n" 
    310         record_file.write(theflow) 
     311        if (record_file!=None): 
     312            record_file.write(theflow) 
    311313         
    312314class FlowInput: