Skip to content

Commit

Permalink
Fix Beeminder->create_datapoint
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Nov 7, 2019
1 parent e8a37b1 commit 36a7d6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pyminder/beeminder.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def create_datapoint(
comment: str = None
):
return self._call(f'/users/{self._user}/goals/{goal_name}/datapoints.json', data={
value: value,
unix_timestamp: unix_timestamp,
comment: comment
'value': value,
'unix_timestamp': unix_timestamp,
'comment': comment
}, method="POST")

def create_datapoints(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This call to setup() does all the work
setup(
name="pyminder",
version="0.4.0",
version="0.4.1",
description="Beeminder power tools library",
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 36a7d6f

Please sign in to comment.