Fixed some problem

This commit is contained in:
Halhadus 2024-12-09 20:43:15 +03:00
parent 91fbd168a2
commit 3fd4e8c7ec

View file

@ -11,7 +11,7 @@ def read_music_database():
conn.close() conn.close()
return music_list return music_list
def read_count_database(year: int: datetime.datetime.now().year): def read_count_database(year: int = datetime.datetime.now().year):
if year == datetime.datetime.now().year: if year == datetime.datetime.now().year:
conn = sqlite3.connect(f'assets/localwrapped/count.db') conn = sqlite3.connect(f'assets/localwrapped/count.db')
c = conn.cursor() c = conn.cursor()