(self)
return
Save prefs
Save prefs
Save prefs
def save_prefs(self):
        """Save prefs"""

        try:
            fd = open(self.pref_file,'wb')
            #print (self.prefs)
            pickle.dump(self.prefs, fd, protocol=2)
            fd.close()
        except:
            print ('could not save')
            return
        return
def save_prefs ( self ) : try : fd = open ( self . pref_file , 'wb' ) #print (self.prefs) pickle . dump ( self . prefs , fd , protocol = 2 ) fd . close ( ) except : print ( 'could not save' ) return return