Switching away from being lazy so that we evaluate the code inside of the try/excepts
authorEd Page <eopage@byu.net>
Thu, 6 Jan 2011 01:04:30 +0000 (19:04 -0600)
committerEd Page <eopage@byu.net>
Thu, 6 Jan 2011 01:04:30 +0000 (19:04 -0600)
src/dialcentral_qt.py

index b7078f2..cadafe0 100755 (executable)
@@ -106,10 +106,10 @@ class Dialcentral(object):
                isFullscreen = False
                tabIndex = 0
                try:
-                       blobs = (
+                       blobs = [
                                config.get(constants.__pretty_app_name__, "bin_blob_%i" % i)
                                for i in xrange(len(self._mainWindow.get_default_credentials()))
-                       )
+                       ]
                        isFullscreen = config.getboolean(constants.__pretty_app_name__, "fullscreen")
                        tabIndex = config.getint(constants.__pretty_app_name__, "tab")
                except ConfigParser.NoOptionError, e: