Fixed some problem
This commit is contained in:
parent
91fbd168a2
commit
3fd4e8c7ec
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue