Commits

Matija Polajnar  committed 01b85f0

Bugfix: do not crash if there is no Internet connection when adding the default repo for the first time.

  • Participants
  • Parent commits 8ff7c29

Comments (0)

Files changed (1)

File orange/orngAddOns.py

             file.close()
         except Exception, e:
             print "Unable to load repository list! Error: %s" % e
-    updateDefaultRepositories()
+    try:
+        updateDefaultRepositories()
+    except Exception, e:
+        print "Unable to refresh default repositories: %s" % (e)
     for r in availableRepositories:
         #TODO: # Should show some progress (and enable cancellation)
         try: