fix a stray import
This commit is contained in:
parent
668ed5e96a
commit
aa8b049342
3
debug.py
3
debug.py
|
@ -1,6 +1,5 @@
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import aiohttp
|
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
|
@ -11,4 +10,4 @@ class Severity(Enum):
|
||||||
|
|
||||||
def log(message, severity=Severity.MESSAGE):
|
def log(message, severity=Severity.MESSAGE):
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
print(f'{datetime.now()}: [{severity.value}] {message}')
|
print(f'{datetime.now()}: [{severity.value}] {message}')
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
import os # Used exactly once to check for the config file
|
import os # Used exactly once to check for the config file
|
||||||
import shutil # Used exactly once to copy the sample config file
|
import shutil # Used exactly once to copy the sample config file
|
||||||
import asyncio
|
import asyncio
|
||||||
|
import aiohttp
|
||||||
import re
|
import re
|
||||||
import json
|
import json
|
||||||
import requests
|
import requests
|
||||||
|
|
Loading…
Reference in New Issue