This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 269d2258dde93e2f95887c46a51f2a9e649fccfd
Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
Date:   Tue Aug 8 16:25:31 2023 +0200

    pyhoca-gui: Support importing local pyhoca.wxgui module.
---
 pyhoca-gui | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/pyhoca-gui b/pyhoca-gui
index e24ef4a..71600ac 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -35,8 +35,12 @@ try:
 except ImportError:
     pass
 
-from pyhoca.wxgui import __VERSION__
-from pyhoca.wxgui.launcher import PyHocaGUI_Launcher
+try:
+    from .pyhoca.wxgui import __VERSION__
+    from .pyhoca.wxgui.launcher import PyHocaGUI_Launcher
+except ImportError:
+    from pyhoca.wxgui import __VERSION__
+    from pyhoca.wxgui.launcher import PyHocaGUI_Launcher
 
 __author__ = "Mike Gabriel, Dick Kniep"
 __version__ = __VERSION__

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/pyhoca-gui.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to