From 36a7d6fee22435714dc0777b8301a16b747ab81d Mon Sep 17 00:00:00 2001 From: Nathan Arthur Date: Thu, 7 Nov 2019 09:45:30 -0500 Subject: [PATCH] Fix Beeminder->create_datapoint --- pyminder/beeminder.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyminder/beeminder.py b/pyminder/beeminder.py index 32cf916..59eb46d 100644 --- a/pyminder/beeminder.py +++ b/pyminder/beeminder.py @@ -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): diff --git a/setup.py b/setup.py index ced1dd1..b6ddfd0 100644 --- a/setup.py +++ b/setup.py @@ -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",