linted code
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
from sqlalchemy import select
|
||||
from typing import Optional
|
||||
from database import get_database, DatabaseManager
|
||||
from zoneinfo import ZoneInfo
|
||||
from database import get_database
|
||||
from pathlib import Path
|
||||
from datetime import datetime, timedelta
|
||||
import re
|
||||
@@ -9,8 +6,6 @@ import urllib.parse
|
||||
from wordlists import get_wordlists
|
||||
from config import get_config
|
||||
from logger import get_app_logger
|
||||
import requests
|
||||
from sanitizer import sanitize_for_storage, sanitize_dict
|
||||
|
||||
# ----------------------
|
||||
# TASK CONFIG
|
||||
|
||||
@@ -39,7 +39,7 @@ def main():
|
||||
metadata.reflect(bind=engine)
|
||||
|
||||
# create backup directory
|
||||
os.makedirs(config.backups_path,exist_ok=True)
|
||||
os.makedirs(config.backups_path, exist_ok=True)
|
||||
output_file = os.path.join(config.backups_path, "db_dump.sql")
|
||||
|
||||
with open(output_file, "w") as f:
|
||||
|
||||
Reference in New Issue
Block a user