Skip to content

Commit

Permalink
update python version
Browse files Browse the repository at this point in the history
  • Loading branch information
fcheslack committed Dec 3, 2013
1 parent cdae229 commit ce31d80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/py/libZotero/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ def set(self, key, val):
elif key == "dateModified":
self.apiObject['dateModified'] = val
self.dateModified = val
elif key == "path":
self.path = val

if key in self.apiObject:
self.apiObject[key] = val
Expand Down
1 change: 0 additions & 1 deletion lib/py/libZotero/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ def uploadAttachedFilePatch(self, item, patchdata, fileinfo, algorithm='bsdiff')
#uploadBody.extend(patchdata)
#uploadBody.extend(bytearray(upAuthOb['suffix'].encode()))
uploadBody = bytearray(patchdata)
logging.info(uploadBody)
logging.info(upAuthOb['contentType'])
uploadResponse = zrequest(uploadUrl, 'PATCH', uploadBody, {'Content-Type': upAuthOb['contentType'],
'If-Match': item.get('md5')})
Expand Down
2 changes: 1 addition & 1 deletion lib/py/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from distutils.core import setup
setup(name='libZotero',
version='0.2.3',
version='0.2.5',
description='Python module for interacting with the zotero.org API',
author='Faolan Cheslack-Postava',
url='https://github.com/fcheslack/libZotero',
Expand Down

0 comments on commit ce31d80

Please sign in to comment.