mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/etpro-telemetry - fix python 3.11 compatibility issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= etpro-telemetry
|
||||
PLUGIN_VERSION= 1.6
|
||||
PLUGIN_REVISION= 3
|
||||
PLUGIN_REVISION= 4
|
||||
PLUGIN_COMMENT= ET Pro Telemetry Edition
|
||||
PLUGIN_MAINTAINER= ad@opnsense.org
|
||||
PLUGIN_WWW= https://docs.opnsense.org/manual/etpro_telemetry.html
|
||||
|
||||
@@ -36,7 +36,7 @@ def reverse_log_reader(filename):
|
||||
:return: generator
|
||||
"""
|
||||
block_size = 81920
|
||||
input_stream = open(filename, 'rU')
|
||||
input_stream = open(filename, 'r')
|
||||
input_stream.seek(0, os.SEEK_END)
|
||||
file_byte_start = input_stream.tell()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user