diff --git a/common/file_helpers.py b/common/file_helpers.py index d4a00041..c7a70ab8 100644 --- a/common/file_helpers.py +++ b/common/file_helpers.py @@ -5,7 +5,7 @@ from atomicwrites import AtomicWriter def mkdirs_exists_ok(path): - if path.startswith('http'): + if path.startswith('http://') or path.startswith('https://'): raise ValueError('URL path') try: os.makedirs(path)