Changeset 325


Ignore:
Timestamp:
08/06/09 08:33:21 (8 years ago)
Author:
marc
Message:

Current

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release/0.2/uigtk.py

    r324 r325  
    661661 
    662662        # Delete stale old screenshot 
    663         if (self.current_configuration['screenshot']['format'] != self.configuration['screenshot']['format']): 
    664             if os.path.exists(os.path.join(self.current_configuration['screenshot']['path'], 'itakashot.%s' % (self.current_configuration['screenshot']['format']))):  
    665                 os.remove(os.path.join(self.current_configuration['screenshot']['path'], 'itakashot.%s' % (self.current_configuration['screenshot']['format']))) 
    666                 if self.itaka_globals.console_verbosity['debug']: print_m(_("Deleting stale screenshot file '%s'" % ((os.path.join(self.current_configuration['screenshot']['path'], 'itakashot.%s' % (self.current_configuration['screenshot']['format'])))))) 
     663        if (self.currentconfiguration['screenshot']['format'] != self.configuration['screenshot']['format']): 
     664            if os.path.exists(os.path.join(self.currentconfiguration['screenshot']['path'], 'itakashot.%s' % (self.currentconfiguration['screenshot']['format']))):  
     665                os.remove(os.path.join(self.currentconfiguration['screenshot']['path'], 'itakashot.%s' % (self.currentconfiguration['screenshot']['format']))) 
     666                if self.itaka_globals.console_verbosity['debug']: print_m(_("Deleting stale screenshot file '%s'" % ((os.path.join(self.currentconfiguration['screenshot']['path'], 'itakashot.%s' % (self.currentconfiguration['screenshot']['format'])))))) 
    667667 
    668668        if self.itakaglobals.notifyavailable: 
Note: See TracChangeset for help on using the changeset viewer.