Skip to content

Commit 8dcfc83

Browse files
committed
Allow passing 0 as user ID
1 parent a3bbb0c commit 8dcfc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyzotero/zotero.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def __init__(
305305
else:
306306
self.endpoint = "http://localhost:23119/api"
307307
self.local = True
308-
if library_id and library_type:
308+
if library_id is not None and library_type:
309309
self.library_id = library_id
310310
# library_type determines whether query begins w. /users or /groups
311311
self.library_type = library_type + "s"

0 commit comments

Comments
 (0)