summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvuko <vuko@hackerspace.pl>2020-06-12 20:34:19 +0200
committervuko <vuko@hackerspace.pl>2020-06-12 20:37:53 +0200
commitd3ab4653825d080677869bfbe64cf0e9da30eabd (patch)
tree2ce10ced5f2c9dc02e4f6a33cc7813075daee5cb
parent22e4c187aaa0d676dec87bb093e87529bb843a6a (diff)
downloadcheckinator-d3ab4653825d080677869bfbe64cf0e9da30eabd.tar.gz
checkinator-d3ab4653825d080677869bfbe64cf0e9da30eabd.tar.bz2
checkinator-d3ab4653825d080677869bfbe64cf0e9da30eabd.zip
fix unset offset
-rw-r--r--at.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/at.py b/at.py
index c0e5c6e..5a06ef2 100644
--- a/at.py
+++ b/at.py
@@ -243,6 +243,7 @@ class DhcpdUpdater(MtimeUpdater):
ip = None
hwaddr = None
atime = None
+ offset = f.tell()
while True:
# using readline because iter(file) blocks file.tell usage
line = f.readline()