Skip to content

Commit 436421d

Browse files
committed
Fix README and bump version
1 parent f390283 commit 436421d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def device_data():
270270
# We get the serial number and load the device data from our storage
271271
device = get_device(serial=metrics.get_device_serial())
272272
# We get the data format if needed from our storage
273-
data_format = get_data_format(id=metrics.get_data_format_id()) if not metrics.data_format_available() else None
273+
data_format = get_data_format(id=metrics.get_data_format_id()) if metrics.get_data_format_id() else None
274274
# We set the device parameters in the metrics handler
275275
metrics.set_device_parameters(
276276
secret_key=device.secret_key,
@@ -305,7 +305,7 @@ def device_data():
305305

306306
## Changelog
307307

308-
### 2023-10-09 - v0.4.0
308+
### 2023-10-12 - v0.4.0
309309
- Added convenience functions for accessing token count and data timestamp
310310
- Added automatic verification of last request count or timestamp during auth
311311
- Fixed issues in documentation

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = openpaygo
3-
version = 0.3.0
3+
version = 0.4.0
44
url = https://github.com/EnAccess/OpenPAYGO-python/
55
description-file=README.md
66
license_files=LICENSE

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
setup(
55
name="openpaygo",
66
packages=find_packages(),
7-
version='0.3.0',
7+
version='0.4.0',
88
license='MIT',
99
author="Solaris Offgrid",
1010
url='https://github.com/EnAccess/OpenPAYGO-python/',

0 commit comments

Comments
 (0)