mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
58eb7ab38a
commit
60278959b1
@ -24,7 +24,7 @@ def encode_query(query, qchar):
|
||||
if keys.length:
|
||||
for k in keys:
|
||||
val = query[k]
|
||||
if val is undefined or val is None:
|
||||
if val is undefined or val is None or val is '':
|
||||
continue
|
||||
ans += qchar + encodeURIComponent(k) + '=' + encode_query_component(val.toString())
|
||||
qchar = '&'
|
||||
|
Loading…
x
Reference in New Issue
Block a user