backend+ telegram: регистрация переведена на классы

This commit is contained in:
2022-11-18 18:27:53 +03:00
parent 82dfc158e9
commit 210938fd78
10 changed files with 94 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ with open("textsouls/config.json") as config_file:
class Backend:
base_url = config_data["backend_settings"]["base_url"]
base_url = config_data["BACKEND_SETTINGS"]["BASE_URL"]
def post(self, relative_url, data):
try: