[X2Go-Commits] [pyhoca-gui] 01/01: fix for last commit
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 19 15:24:29 CET 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 7f005e5efe88d6f1380354d673adf7097c5cc891
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Mar 19 15:24:35 2014 +0100
fix for last commit
---
pyhoca/wxgui/frontend.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 51e57af..08f9953 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -228,9 +228,10 @@ class PyHocaGUI(wx.App, x2go.X2GoClient):
if self.args.broker_name:
self.broker_name = self.args.broker_name
- self.broker_cacertfile = os.path.expanduser(self.args.broker_cacertfile)
- if self.broker_cacertfile and os.path.exists(self.broker_cacertfile):
- os.environ['REQUESTS_CA_BUNDLE'] = self.broker_cacertfile
+ if self.args.broker_cacertfile is not None:
+ self.broker_cacertfile = os.path.expanduser(self.args.broker_cacertfile)
+ if self.broker_cacertfile and os.path.exists(self.broker_cacertfile):
+ os.environ['REQUESTS_CA_BUNDLE'] = self.broker_cacertfile
try:
if self.args.logon_window_position:
--
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