[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 501747368416a35f0d49e4c2ab994fa682db4b58
X2Go dev team
git-admin at x2go.org
Sat Sep 14 15:54:36 CEST 2013
The branch, twofactorauth has been updated
via 501747368416a35f0d49e4c2ab994fa682db4b58 (commit)
from 6e920b395f10cb493365760613df0ece70779e0a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca/wxgui/profilemanager.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index be674ee..017a4e0 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -963,7 +963,10 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
if _ext:
_normalized_exts.append(_ext)
self.profile_config['dropboxextensions'] = ','.join(_normalized_exts)
- _dropbox_action = [ a for a in self.dropboxactionChoices.keys() if self.dropboxactionChoices[a] == self.FileDropboxAction.GetValue() ][0]
+ try:
+ _dropbox_action = [ a for a in self.dropboxactionChoices.keys() if self.dropboxactionChoices[a] == self.FileDropboxAction.GetValue() ][0]
+ except IndexError:
+ _dropbox_action = 'OPEN'
self.profile_config['dropboxaction'] = _dropbox_action
def OnIconChange(self, event):
hooks/post-receive
--
pyhoca-gui.git (Python X2Go Client (wxPython GUI))
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).
More information about the x2go-commits
mailing list