13
0
Fork 0
mirror of https://github.com/yannh/kubeconform.git synced 2026-07-02 09:29:30 +00:00
This commit is contained in:
Halvdan Hoem Grelland 2026-06-17 11:13:32 +00:00 committed by GitHub
commit acd093675f
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)