forked from MarseyWorld/MarseyWorld
change wording of an error msg
parent
f52d6258ae
commit
168f18893f
|
@ -468,7 +468,7 @@ def normalize_url(url):
|
||||||
|
|
||||||
def validate_css(css):
|
def validate_css(css):
|
||||||
if '@import' in css:
|
if '@import' in css:
|
||||||
return False, "@import statements not allowed."
|
return False, "@import statements are not allowed!"
|
||||||
|
|
||||||
for i in css_url_regex.finditer(css):
|
for i in css_url_regex.finditer(css):
|
||||||
url = i.group(1)
|
url = i.group(1)
|
||||||
|
|
Loading…
Reference in New Issue