[X2Go-Commits] [pyhoca-gui] 01/01: check_running(): Don't strip .exe from application name

git-admin at x2go.org git-admin at x2go.org
Tue Apr 15 21:22:03 CEST 2014


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

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

commit 821786f5bcfdf32ddfc86ef77d9d18a50a966082
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Apr 15 21:21:59 2014 +0200

    check_running(): Don't strip .exe from application name
---
 pyhoca/wxgui/launcher.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyhoca/wxgui/launcher.py b/pyhoca/wxgui/launcher.py
index 85b1a99..fd69b2d 100644
--- a/pyhoca/wxgui/launcher.py
+++ b/pyhoca/wxgui/launcher.py
@@ -115,7 +115,7 @@ VERSION: %s
             basepath.reload_base_paths()
 
     def check_running(self):
-        _executable = os.path.basename(sys.argv[0]).replace('.exe', '')
+        _executable = os.path.basename(sys.argv[0])
 
         if X2GOCLIENT_OS  in ('Linux', 'Mac'):
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list