This commit is contained in:
Halvdan Hoem Grelland 2025-10-13 13:10:07 +02:00 committed by GitHub
commit b8fe892c89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,7 +127,7 @@ if __name__ == "__main__":
exit(1)
for crdFile in sys.argv[1:]:
if crdFile.startswith("http"):
if crdFile.startswith("http:") or crdFile.startsWith("https:"):
f = urllib.request.urlopen(crdFile)
else:
f = open(crdFile)