Changeset 66 for management.py

Show
Ignore:
Timestamp:
03/28/07 05:52:59 (22 months ago)
Author:
ploum
Message:

fix a bug where accounts.xml is emptied if conseil is closed with the accounts dialog still open

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • management.py

    r63 r66  
    5858        def show(self,x) : 
    5959                self.widget.show() 
    60                 self.f = open(self.accounts_file, mode='w+') 
     60                self.f = open(self.accounts_file, mode='r') 
    6161                self.open_file(self.f) 
    6262                self.update_display() 
     
    6666        def hide(self,x) : 
    6767                self.widget.hide() 
    68                 self.sync() 
     68                #self.sync() 
    6969                 
    7070