Skip to content
This repository was archived by the owner on Jun 23, 2024. It is now read-only.

Commit 974a3b4

Browse files
committed
Fix HttpUtils.is_blob
1 parent d2d7200 commit 974a3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync/utils/HttpUtils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def download(cls, url: str, out: Path) -> float:
5757

5858
@classmethod
5959
def is_blob(cls, url):
60-
pattern = r"https://github\.com/.+/blob/main/.+"
60+
pattern = r"https://github\.com/.+/blob/.+"
6161
match = re.match(pattern, url)
6262
if match:
6363
return True

0 commit comments

Comments
 (0)