adding a message before loading the plugin with a try except

This commit is contained in:
U-CAD\userC
2021-11-29 16:50:17 +01:00
parent 0cc3e586dc
commit 3fcfd4ea14
12 changed files with 42 additions and 18 deletions

View File

@ -1,2 +1,6 @@
from .action_menu_pcb2dxf import pcb2dxf
pcb2dxf().register()
import wx
try:
from .action_menu_pcb2dxf import pcb2dxf
pcb2dxf().register()
except Exception as e:
wx.LogMessage('pcb to dxf plugin error\n'+str(e))

View File

@ -32,7 +32,7 @@ __author__ = "mozman <mozman@gmx.at>"
script_name="kicadpcb2dxf"
__author_script__="easyw Maurice"
___version___="3.8.2"
___version___="3.8.3"
from contextlib import contextmanager