diff options
-rwxr-xr-x | git-bz | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |