gacha_renderer: font caching, threaded bg/png, spark_target; gacha: file i/o out of lock; paths from pkg root
This commit is contained in:
1 parent
30efb9105f
commit
3ef57f85fe
4 files changed
+53
-26
No files matched your search
+2
-1
@@ -11,7 +11,8 @@ from .constants import ELIGMA_YIELD
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
DB_PATH = Path("data/ba_gacha.db")
|
||||
_PKG_DIR = Path(__file__).parent
|
||||
DB_PATH = _PKG_DIR.parent / "data" / "ba_gacha.db"
|
||||
|
||||
|
||||
def _connect() -> sqlite3.Connection:
|
||||
|
||||
Reference in new issue
Block a user