mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
fix git conflict commited by accident
This commit is contained in:
parent
2ece5c20cf
commit
3ec97e5528
1 changed files with 2 additions and 4 deletions
|
@ -60,14 +60,12 @@ URL_REGEX = re.compile(
|
|||
re.IGNORECASE,
|
||||
)
|
||||
|
||||
<<<<<<< HEAD
|
||||
COLOR_REGEX = re.compile(r'\[(?P<arg_1>\d+)(;(?P<arg_2>\d+)(;(?P<arg_3>\d+))?)?m')
|
||||
=======
|
||||
|
||||
def is_static_file(url: str):
|
||||
# TODO: the proper way is with MIME type detection + ext, not only extension
|
||||
from .config import STATICFILE_EXTENSIONS
|
||||
return extension(url).lower() in STATICFILE_EXTENSIONS
|
||||
>>>>>>> c1fe068... remove circular import possibilities
|
||||
|
||||
|
||||
def enforce_types(func):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue