Adds a little error message

This commit is contained in:
Patrick McDonagh
2016-06-06 16:39:18 -05:00
parent 061189de4e
commit 9151a33701

View File

@@ -246,6 +246,7 @@ def main():
if setupTags():
pass
else:
print("Unable to read tags... Restarting.")
main()
status = Status('run_status', 'Pump.Run_Status', 0, 'STRING', 0, 3600, mapFn=maps['statusMap'], ip_address=main_plc['address'], device_type=device_types[main_plc['device_type']])