You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Compass docs, this should generate rules for h1 through h4, but instead I get:
h1 {
background-color: #646464;
}
The error seems to be in __init__.py:_headers:
if isinstance(frm, StringValue) and frm.value.lower() == 'all':
frm = 1
to = 6
else:
frm = 1
try:
to = int(getattr(frm, 'value', frm))
except ValueError:
to = 6
The assignment of 1 to frm before the try block that assigns to seems to be the problem. It needs to be assigned after to has been determined from it (so after the try block).
The text was updated successfully, but these errors were encountered:
I'm using the headings() function like so:
According to the Compass docs, this should generate rules for h1 through h4, but instead I get:
The error seems to be in
__init__.py:_headers
:The assignment of 1 to
frm
before the try block that assignsto
seems to be the problem. It needs to be assigned after to has been determined from it (so after the try block).The text was updated successfully, but these errors were encountered: