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
|
||||
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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue