e-data 1.2.13__tar.gz → 1.2.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {e-data-1.2.13/e_data.egg-info → e-data-1.2.15}/PKG-INFO +1 -1
- {e-data-1.2.13 → e-data-1.2.15/e_data.egg-info}/PKG-INFO +1 -1
- {e-data-1.2.13 → e-data-1.2.15}/edata/helpers.py +4 -1
- {e-data-1.2.13 → e-data-1.2.15}/setup.py +1 -1
- {e-data-1.2.13 → e-data-1.2.15}/LICENSE +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/MANIFEST.in +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/README.md +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/e_data.egg-info/SOURCES.txt +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/e_data.egg-info/dependency_links.txt +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/e_data.egg-info/requires.txt +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/e_data.egg-info/top_level.txt +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/__init__.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/connectors/__init__.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/connectors/datadis.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/connectors/redata.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/const.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/definitions.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/processors/__init__.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/processors/base.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/processors/billing.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/processors/consumption.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/processors/maximeter.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/processors/utils.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/edata/storage.py +0 -0
- {e-data-1.2.13 → e-data-1.2.15}/setup.cfg +0 -0
|
@@ -408,6 +408,9 @@ class EdataHelper:
|
|
|
408
408
|
else None
|
|
409
409
|
)
|
|
410
410
|
|
|
411
|
+
if not incremental_update:
|
|
412
|
+
dump_storage(self._cups, self.data, self._storage_dir)
|
|
413
|
+
|
|
411
414
|
def process_supplies(self):
|
|
412
415
|
"""Process supplies data."""
|
|
413
416
|
for i in self.data["supplies"]:
|
|
@@ -442,7 +445,7 @@ class EdataHelper:
|
|
|
442
445
|
for x in self.data["consumptions"]
|
|
443
446
|
if x["datetime"] >= new_data_from
|
|
444
447
|
],
|
|
445
|
-
"cycle_start_day":
|
|
448
|
+
"cycle_start_day": 1,
|
|
446
449
|
}
|
|
447
450
|
)
|
|
448
451
|
today_starts = datetime(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|