ETPro-telemetry, switch to python3. closes https://github.com/opnsense/plugins/issues/1372
This commit is contained in:
parent
4604fc89ff
commit
9c4b22815d
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/python2.7
|
||||
#!/usr/local/bin/python3
|
||||
|
||||
"""
|
||||
Copyright (c) 2018-2019 Ad Schellevis <ad@opnsense.org>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/python2.7
|
||||
#!/usr/local/bin/python3
|
||||
|
||||
"""
|
||||
Copyright (c) 2018-2019 Ad Schellevis <ad@opnsense.org>
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/python2.7
|
||||
#!/usr/local/bin/python3
|
||||
|
||||
"""
|
||||
Copyright (c) 2018-2019 Ad Schellevis <ad@opnsense.org>
|
||||
|
|
Loading…
Reference in New Issue