From 9d3684f89430cd8dfacfb871ae61034561c09006 Mon Sep 17 00:00:00 2001 From: Halhadus Date: Sat, 7 Dec 2024 01:05:37 +0300 Subject: [PATCH] Added source code link + back to main page button --- websitemodule.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/websitemodule.py b/websitemodule.py index 419c142..b0e2038 100644 --- a/websitemodule.py +++ b/websitemodule.py @@ -40,6 +40,8 @@ def generatehtmlcode(url): html += '\n\n' html += '\n' html += '

Halhadus\' Local Wrapped

\n' + html += 'Source Code\n' + html += '
\n\n
\n' html += '

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

\n' html += '

Last Updated: ' + datetime.datetime.utcfromtimestamp(os.path.getmtime("assets/localwrapped/music.db")).strftime('%Y-%m-%d %H:%M:%S') + ' (server time)

\n' html += '

Most Played Musics

\n'