]> Softwares of Agnibho - medscript.git/commitdiff
Bugfix: plugin exception if main.py absent
authorAgnibho Mondal <mondal@agnibho.com>
Mon, 13 Nov 2023 19:25:17 +0000 (00:55 +0530)
committerAgnibho Mondal <mondal@agnibho.com>
Mon, 13 Nov 2023 19:25:17 +0000 (00:55 +0530)
plugin.py

index 4bb32f28213090f9c9e064b6f86332d748c55e94..8381f57b80a3d86768733ba875e6692cd1281e8c 100644 (file)
--- a/plugin.py
+++ b/plugin.py
@@ -37,7 +37,7 @@ class Plugin(QObject):
                     spec.loader.exec_module(mod)
                     self.plugins.append(mod)
             except Exception as e:
-                logging.warning(i, ":", e)
+                logging.warning(i+":"+str(e))
 
     def get_name(self, mod):
             try: