mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 20:26:29 +00:00
Fix regex
This commit is contained in:
parent
a9b4174590
commit
9f406df129
@ -4,7 +4,7 @@ import pathlib
|
||||
import re
|
||||
|
||||
RE_SLUGIFY = re.compile(r'[^a-z0-9_]+')
|
||||
RE_SHA1 = re.compile(r"[a-f0-9]{40}")
|
||||
RE_SHA1 = re.compile(r"[a-f0-9]{8}")
|
||||
|
||||
|
||||
def get_hash_from_repository(repo):
|
||||
|
Loading…
x
Reference in New Issue
Block a user