From: Steven Luo Date: Fri, 11 Dec 2009 10:56:22 +0000 (-0800) Subject: Unbreak the no-config-file case after last commit X-Git-Tag: v2.2~3 X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=commitdiff_plain;h=6c1895fbcd0523f385d83cb784aaec287dd9f5a9 Unbreak the no-config-file case after last commit Thinko in the last commit left LaunchBrowser potentially undefined in the no-config-file case. --- diff --git a/browser-switchboard b/browser-switchboard index 8873c24..e922cee 100755 --- a/browser-switchboard +++ b/browser-switchboard @@ -197,7 +197,7 @@ def readconfigfile(signalnum=None, frame=None): execfile(os.getenv("HOME", "/home/user") + "/.config/browser-proxy", globals()) except: # No valid config file available - return + pass launcher.UpdateDefaultBrowser() setconfigdefaults()