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 .annular_checker import annular_check
annular_check().register()
import wx
try:
from .annular_checker import annular_check
annular_check().register()
except Exception as e:
wx.LogMessage('annular checker plugin error\n'+str(e))

View File

@ -15,7 +15,7 @@
global mm_ius, DRL_EXTRA, AR_SET, AR_SET_V, DRL_EXTRA_ius, MIN_AR_SIZE, MIN_AR_SIZE_V, found_violations, LogMsg, ___version___
___version___="1.7.1"
___version___="1.7.2"
#wx.LogMessage("My message")
mm_ius = 1000000.0