Exemple #1
0
 def _dump_config(self):
     configfile.save_ui_config(self.config, 'anondownloadgui', self.ui_options)
Exemple #2
0
 def _dump_config(self):
     configfile.save_ui_config(self.config, 'anondownloadgui',
                               self.ui_options)
Exemple #3
0
def main(parent=None):
    config, args = configfile.parse_configuration_and_args(defaults,
                                'makeatorrentgui', sys.argv[1:], 0, None)
    w = MainWindow(config, parent)
    save_options = ('torrent_dir','piece_size_pow2','tracker_name')
    configfile.save_ui_config(w.config, 'makeatorrentgui', save_options)
Exemple #4
0
def main(parent=None):
    config, args = configfile.parse_configuration_and_args(
        defaults, 'makeatorrentgui', sys.argv[1:], 0, None)
    w = MainWindow(config, parent)
    save_options = ('torrent_dir', 'piece_size_pow2', 'tracker_name')
    configfile.save_ui_config(w.config, 'makeatorrentgui', save_options)