diff options
-rw-r--r-- | python/configs/plug/plugins/usizer.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/python/configs/plug/plugins/usizer.py b/python/configs/plug/plugins/usizer.py index 12639621..0d53097f 100644 --- a/python/configs/plug/plugins/usizer.py +++ b/python/configs/plug/plugins/usizer.py @@ -23,16 +23,10 @@ class Plugin(PluginBase): if Msg == self.ffic.DN_INITDIALOG: log.debug('INITDIALOG') try: - s = self.s2f("vapath initial") - dlg.SetText(dlg.ID_vapath, self.ffi.cast('LONG_PTR', s)) - log.debug('1') - s = self.s2f("vbpath initial") - dlg.SetText(dlg.ID_vbpath, self.ffi.cast('LONG_PTR', s)) - log.debug('2') + dlg.SetText(dlg.ID_vapath, "vapath initial") + dlg.SetText(dlg.ID_vbpath, "vbpath initial") dlg.Disable(dlg.ID_vbpath) - log.debug('3') dlg.SetCheck(dlg.ID_vallow, 1) - log.debug('4') dlg.SetFocus(dlg.ID_vseconds) except: log.exception('bang') |