[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 501747368416a35f0d49e4c2ab994fa682db4b58

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:21:04 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d 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