chore: Improve script import mechanism and remove boilerplate

This commit is contained in:
Whispering Wind
2025-09-10 15:51:17 +03:30
committed by GitHub
parent 441cd2caaa
commit b99198b41d
10 changed files with 13 additions and 23 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env python3
import init_paths
import os
import sys
import json
@ -9,7 +10,6 @@ import re
import qrcode
from io import StringIO
from typing import Tuple, Optional, Dict, List, Any
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from db.database import db
from paths import *