From 369791c1e31c3acd05632a25db7b65359a0eef47 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 25 Apr 2021 23:20:14 +0300 Subject: update dependencies --- main.py | 5 +++-- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index c586e0e..a539400 100755 --- a/main.py +++ b/main.py @@ -5,7 +5,8 @@ import traceback import os from argparse import ArgumentParser -from jstate import JState +from ch1p import State + def main(): # parse arguments @@ -17,7 +18,7 @@ def main(): args = parser.parse_args() # read file - jstate = JState(args.state_file, default=dict(seek=0, size=0)) + jstate = State(file=args.state_file, default=dict(seek=0, size=0)) state = jstate.read() fsize = os.path.getsize(args.log_file) diff --git a/requirements.txt b/requirements.txt index dd10584..8123d9e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ requests~=2.25.1 -jstate~=0.0.4 \ No newline at end of file +ch1p~=0.0.3 \ No newline at end of file -- cgit v1.2.3