ETPro-telemetry, switch to python3. closes https://github.com/opnsense/plugins/issues/1372

This commit is contained in:
Ad Schellevis 2019-06-19 10:30:43 +02:00
parent 4604fc89ff
commit 9c4b22815d
5 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
PLUGIN_NAME= etpro-telemetry
PLUGIN_VERSION= 1.3
PLUGIN_REVISION= 1
PLUGIN_REVISION= 2
PLUGIN_COMMENT= ET Pro Telemetry Edition
PLUGIN_MAINTAINER= ad@opnsense.org
PLUGIN_WWW= https://docs.opnsense.org/manual/etpro_telemetry.html

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python2.7
#!/usr/local/bin/python3
"""
Copyright (c) 2018-2019 Ad Schellevis <ad@opnsense.org>

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python2.7
#!/usr/local/bin/python3
"""
Copyright (c) 2018-2019 Ad Schellevis <ad@opnsense.org>

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python2.7
#!/usr/local/bin/python3
"""
Copyright (c) 2018-2019 Ad Schellevis <ad@opnsense.org>
@ -75,7 +75,6 @@ if not telemetry_state.is_running():
max_timestamp = record['__timestamp__']
event_collector.push(record)
row_count += 1
# data collected, log and push
if row_count > 0 and max_timestamp is not None:
syslog.syslog(

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python2.7
#!/usr/local/bin/python3
"""
Copyright (c) 2018-2019 Ad Schellevis <ad@opnsense.org>