projects
/
diaspy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
178faa4
)
Removed that annoying print() from `models.Notification()`
author
Marek Marecki
<triviuss@gmail.com>
Sun, 9 Jun 2013 20:30:55 +0000
(22:30 +0200)
committer
Marek Marecki
<triviuss@gmail.com>
Sun, 9 Jun 2013 20:30:55 +0000
(22:30 +0200)
diaspy/models.py
patch
|
blob
|
blame
|
history
diff --git
a/diaspy/models.py
b/diaspy/models.py
index 7961479aaf7310ab113477c7bd6ec3514d8e030f..9f68f1c46ff5763aaec706acc02e8d7560ac493a 100644
(file)
--- a/
diaspy/models.py
+++ b/
diaspy/models.py
@@
-74,7
+74,6
@@
class Notification():
"""
headers = {'x-csrf-token': self._connection.get_token()}
params = {'set_unread': json.dumps(unread)}
- print(json.dumps(False))
self._connection.put('notifications/{0}'.format(self['id']), params=params, headers=headers)
self.data['unread'] = unread