File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11[metadata]
22name = openpaygo
3- version = 0.3 .0
3+ version = 0.4 .0
44url = https://github.com/EnAccess/OpenPAYGO-python/
55description-file =README.md
66license_files =LICENSE
Original file line number Diff line number Diff line change 44setup (
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/' ,
You can’t perform that action at this time.
0 commit comments