change: remove implicitly set variable types
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
0fa430cb51
commit
f7a9bf9f13
1 changed files with 0 additions and 8 deletions
|
@ -1,6 +1,5 @@
|
||||||
import configparser
|
import configparser
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Optional
|
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
@ -70,9 +69,6 @@ def _validate_config() -> bool:
|
||||||
|
|
||||||
|
|
||||||
class _General:
|
class _General:
|
||||||
token: str
|
|
||||||
sourceurl: Optional[str]
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.token = _c.get("General", "Token")
|
self.token = _c.get("General", "Token")
|
||||||
self.sourceurl = _c.get("General", "SourceUrl")
|
self.sourceurl = _c.get("General", "SourceUrl")
|
||||||
|
@ -83,10 +79,6 @@ class _General:
|
||||||
|
|
||||||
|
|
||||||
class _App:
|
class _App:
|
||||||
name: str
|
|
||||||
host: str
|
|
||||||
hostname: str
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.name = _c.get("App", "Name")
|
self.name = _c.get("App", "Name")
|
||||||
self.host = _c.get("App", "Host")
|
self.host = _c.get("App", "Host")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue