Added guard during method scan

This commit is contained in:
itdominator 2021-03-18 00:24:08 -05:00
parent 77e1940a5c
commit f96974d79e

View File

@ -21,8 +21,12 @@ class Main:
handlers = {}
for c in classes:
methods = None
try:
methods = inspect.getmembers(c, predicate=inspect.ismethod)
handlers.update(methods)
except Exception as e:
pass
builder.connect_signals(handlers)
window = settings.createWindow()