Skip to content

Commit 2cd2288

Browse files
committed
Fixing add_item, missing attribute 'login=true'
1 parent cbda1c3 commit 2cd2288

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyzootool/items.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def add_item(self, url, title, tags=None, description=None, referer=None,
131131
'description': description,
132132
'referer': referer,
133133
'public': public,
134-
'apikey': self.apikey
134+
'apikey': self.apikey,
135+
'login': 'true'
135136
}
136137
url = "%s/api/add/?%s" % (
137138
ROOT_URL, urllib.urlencode(values)

0 commit comments

Comments
 (0)