From 59b504e6d98b1e238dd51ca3d04467928976f8fb Mon Sep 17 00:00:00 2001 From: profitroll Date: Sun, 12 Mar 2023 19:34:27 +0100 Subject: [PATCH] Temp: removed strings about API based in config --- config.json | 6 +----- poster.py | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/config.json b/config.json index bfccebc..96ebd2f 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,4 @@ { - "module": null, "locale": "en", "locale_log": "en", "locale_fallback": "en", @@ -19,8 +18,7 @@ }, "mode": { "post": true, - "submit": true, - "api_based": false + "submit": true }, "reports": { "sent": false, @@ -39,8 +37,6 @@ "sent": "data/sent", "queue": "data/queue", "index": "data/index.json", - "submit": "data/submit.json", - "blocked": "data/blocked.json", "locale": "locale" }, "posting": { diff --git a/poster.py b/poster.py index 67c9851..8ad473c 100644 --- a/poster.py +++ b/poster.py @@ -142,8 +142,8 @@ if configGet("submit", "mode"): from plugins.commands.mode_submit import * from plugins.handlers.submission import * -if configGet("api_based", "mode"): - from modules.api_client import authorize +# if configGet("api_based", "mode"): +# from modules.api_client import authorize # =========================================================================================================================================== # Work in progress