diff --git a/passport/case.py b/passport/case.py index e7f779e..1fddf64 100644 --- a/passport/case.py +++ b/passport/case.py @@ -3,7 +3,6 @@ # ..................................................................... Imports import time -import urllib.parse from . import ( configuration, @@ -76,9 +75,8 @@ def gen_candidates(ids, url): yield (key, value) local_passports = config["git_passports"] - netloc = urllib.parse.urlparse(url)[1] - candidates = dict(gen_candidates(local_passports, netloc)) + candidates = dict(gen_candidates(local_passports, url)) if len(candidates) >= 1: msg = """