summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index ab9289c..ad84321 100755
--- a/git-bz
+++ b/git-bz
@@ -444,8 +444,8 @@ def get_bugzilla_cookies(host):
if not cp.has_option(section, "Path"):
continue
- if profile_path is None or (
- cp.has_option(section, "Default") and cp.get(section, "Default").strip() == "1"):
+ if (not profile_path or
+ (cp.has_option(section, "Default") and cp.get(section, "Default").strip() == "1")):
profile_path = os.path.join(profiles_dir, cp.get(section, "Path").strip())
if not profile_path: