mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update RapydScript
This commit is contained in:
parent
80c5dd6ac3
commit
0cd27ec52d
@ -48,7 +48,7 @@ def _makeelement(tag, *args, **kwargs):
|
||||
ans.addEventListener(attr, val)
|
||||
elif val is True:
|
||||
ans.setAttribute(vattr, vattr)
|
||||
elif val is not False:
|
||||
elif type(val) is 'string':
|
||||
ans.setAttribute(vattr, val)
|
||||
|
||||
for arg in args:
|
||||
|
Loading…
x
Reference in New Issue
Block a user