From 5b44d5330c380960cba450b21cb742cf05f611b6 Mon Sep 17 00:00:00 2001 From: MarkusJoe Date: Wed, 16 Feb 2022 16:47:38 +0800 Subject: [PATCH] fix bug --- bin/tests/download.py | 2 +- bin/utils/b64img.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/download.py b/bin/tests/download.py index f38e250..f3597c2 100644 --- a/bin/tests/download.py +++ b/bin/tests/download.py @@ -4,7 +4,7 @@ import os import sqlite3 -conn = sqlite3.connect('../../db/theme.db') +conn = sqlite3.connect('../../db/.db') cursor = conn.cursor() file_list = os.listdir('../assets/themes/') diff --git a/bin/utils/b64img.py b/bin/utils/b64img.py index 5114f15..6619b12 100644 --- a/bin/utils/b64img.py +++ b/bin/utils/b64img.py @@ -66,5 +66,5 @@ def re_sort_number_image(origin_number: str, theme: str) -> tuple[bool, bool, bo if __name__ != '__main__': - conn = sqlite3.connect('./db/theme.db', check_same_thread=False) + conn = sqlite3.connect('./db/style.db', check_same_thread=False) cursor = conn.cursor()