From 14d61a31ff9e4184b8504c0582dcf7f7a4bd3592 Mon Sep 17 00:00:00 2001 From: Halhadus Date: Mon, 9 Dec 2024 20:59:39 +0300 Subject: [PATCH] Fixed stupid '\(' problem --- websitemodule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websitemodule.py b/websitemodule.py index 84cf655..09ce70d 100644 --- a/websitemodule.py +++ b/websitemodule.py @@ -50,9 +50,9 @@ def generatehtmlcode(year: int): html += '
\n\n
\n' html += '

Total Play Time: ' + str(int(total_play_time(url)/60)) + ' minutes

\n' if year == datetime.datetime.now().year: - html += '

Last Updated: ' + datetime.datetime.utcfromtimestamp(os.path.getmtime('assets/localwrapped/count.db').strftime('%Y-%m-%d %H:%M:%S') + ' (UTC +0, I hope.)

\n' + html += '

Last Updated: ' + datetime.datetime.utcfromtimestamp(os.path.getmtime('assets/localwrapped/count.db')).strftime('%Y-%m-%d %H:%M:%S') + ' (UTC +0, I hope.)

\n'; else: - html += '

Last Updated: ' + datetime.datetime.utcfromtimestamp(os.path.getmtime(f'assets/localwrapped/count-{year}.db').strftime('%Y-%m-%d %H:%M:%S') + ' (UTC +0, I hope.)

\n' + html += '

Last Updated: ' + datetime.datetime.utcfromtimestamp(os.path.getmtime(f'assets/localwrapped/count-{year}.db')).strftime('%Y-%m-%d %H:%M:%S') + ' (UTC +0, I hope.)

\n' html += '

Most Played Musics

\n' html += '
    \n' count_list_formatted = []