Permalink
Browse files

Fixing add_item, missing attribute 'login=true'

  • Loading branch information...
1 parent cbda1c3 commit 2cd228875283cf824f181393ca682037a08dabde @petermanser petermanser committed Oct 11, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 pyzootool/items.py
View
@@ -131,7 +131,8 @@ def add_item(self, url, title, tags=None, description=None, referer=None,
'description': description,
'referer': referer,
'public': public,
- 'apikey': self.apikey
+ 'apikey': self.apikey,
+ 'login': 'true'
}
url = "%s/api/add/?%s" % (
ROOT_URL, urllib.urlencode(values)

0 comments on commit 2cd2288

Please sign in to comment.