Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/configs/plug/plugins/usizer.py10
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')