mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 03:43:14 +02:00
Update RapydScript
This commit is contained in:
parent
80c5dd6ac3
commit
0cd27ec52d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue