Compare commits

...

2 Commits

Author SHA1 Message Date
localhost_frssoft aca05b4ffa Attempt fix wrong counter again 2022-11-01 17:56:07 +03:00
localhost_frssoft 3ec64dc934 Fix counter (?) 2022-11-01 15:21:55 +03:00
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def get_already_watched(original_name=None, ru_name=None, year=None):
def get_count_all_watched_movies():
conn.commit() # May be fix wrong count
return len(c.execute('SELECT * FROM watched_movies').fetchall())