Skip to content

Commit be341df

Browse files
committed
minor improvements
1 parent 442fcca commit be341df

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pylontechpoller/poller.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def run(argv: list[str]):
150150

151151
if cc % 1000 == 0:
152152
logging.info("Updates submitted since startup: %d", cc)
153-
if cc % 86400 == 0:
154153
for reporter in reporters:
155154
reporter.cleanup()
156155

@@ -162,7 +161,7 @@ def run(argv: list[str]):
162161
errs += 1
163162
logging.error("Exception occured: %s", e)
164163
if errs > 10:
165-
logging.error("Too many exceptions in a row, exiting just in casej")
164+
logging.error("Too many exceptions in a row, exiting just in case")
166165
exit(1)
167166
else:
168167
time.sleep(args.interval / 1000.0)

0 commit comments

Comments
 (0)