Skip to content

Commit 7160a83

Browse files
committed
address crash of deamon upon 2nd call to getNumberOfAvailableUpdates()
- Remove unused Requirements file from repo. (#92) - Fix code which calls getNumberOfAvailableUpdates() after initial call at startup (#93)
1 parent 6ed0332 commit 7160a83

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# ChangeLog
22

3+
Tue, 28 Mar 2023 23:24:03 -0600 v1.8.4
4+
5+
- Remove unused Requirements file from repo. (#92)
6+
- Fix code which calls getNumberOfAvailableUpdates() after initial call at startup (#93)
7+
38
Wed, 01 Mar 2023 15:30:03 -0700 v1.8.3
49

510
- Remove package that can't be satisfied from `requirements.txt` (#88)

ISP-RPi-mqtt-daemon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
except ImportError:
3535
apt_available = False
3636

37-
script_version = "1.8.3"
37+
script_version = "1.8.4"
3838
script_name = 'ISP-RPi-mqtt-daemon.py'
3939
script_info = '{} v{}'.format(script_name, script_version)
4040
project_name = 'RPi Reporter MQTT2HA Daemon'
@@ -1825,7 +1825,7 @@ def afterMQTTConnect():
18251825

18261826
if apt_available:
18271827
if timeNow > update_last_fetch_time + kUpdateCheckIntervalInSeconds:
1828-
getNumberOfAvailableUpdates()() # and count them!
1828+
getNumberOfAvailableUpdates() # and count them!
18291829

18301830
finally:
18311831
# cleanup used pins... just because we like cleaning up after us

0 commit comments

Comments
 (0)