change: remove implicitly set variable types

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
mctaylors 2025-07-23 02:59:10 +03:00
parent 0fa430cb51
commit f7a9bf9f13
Signed by: mctaylors
GPG key ID: 9CF54A3ADF697D43

View file

@ -1,6 +1,5 @@
import configparser
from os import path
from typing import Optional
import requests
@ -70,9 +69,6 @@ def _validate_config() -> bool:
class _General:
token: str
sourceurl: Optional[str]
def __init__(self):
self.token = _c.get("General", "Token")
self.sourceurl = _c.get("General", "SourceUrl")
@ -83,10 +79,6 @@ class _General:
class _App:
name: str
host: str
hostname: str
def __init__(self):
self.name = _c.get("App", "Name")
self.host = _c.get("App", "Host")