added ValueError catch in main loop
@@ -38,7 +38,7 @@ while True:
print("New subscriber!")
pyportal.play_file(cwd+"/coin.wav")
last_value = value
- except RuntimeError as e:
+ except (ValueError, RuntimeError) as e:
print("Some error occured, retrying! -", e)
time.sleep(60)
