diff --git a/.gitignore b/.gitignore index 4648488..99513ea 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,5 @@ __pycache__ result*.json groups.json diffable_dates.txt -parsed +parsed/ parser.json \ No newline at end of file diff --git a/main.py b/main.py index 8ad46eb..d4341d0 100644 --- a/main.py +++ b/main.py @@ -354,7 +354,7 @@ def main(): ), body=json.dumps({ "type": "session_end", - "err": err, + "err": str(err) if err else None, "duration": t.step(), "session": sess }, ensure_ascii=False).encode('utf-8') diff --git a/requirements.txt b/requirements.txt index 2b34fa0..ac55965 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,6 @@ openpyxl xlrd beautifulsoup4 -requests \ No newline at end of file +requests +pika +python-dotenv \ No newline at end of file