mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
flake8
This commit is contained in:
parent
bea77807af
commit
ea5249d1b8
@ -1,6 +1,7 @@
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from abc import ABC
|
from abc import ABC
|
||||||
import os, logging
|
import os
|
||||||
|
import logging
|
||||||
from olgram.utils.crypto import Cryptor
|
from olgram.utils.crypto import Cryptor
|
||||||
from functools import lru_cache
|
from functools import lru_cache
|
||||||
|
|
||||||
@ -85,6 +86,7 @@ class ServerSettings(AbstractSettings):
|
|||||||
|
|
||||||
logging.basicConfig(level=os.environ.get("LOGLEVEL", "INFO"))
|
logging.basicConfig(level=os.environ.get("LOGLEVEL", "INFO"))
|
||||||
|
|
||||||
|
|
||||||
class BotSettings(AbstractSettings):
|
class BotSettings(AbstractSettings):
|
||||||
@classmethod
|
@classmethod
|
||||||
def token(cls) -> str:
|
def token(cls) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user