From 708252e92f87ea8806a35ad08afea54a6f28e9ff Mon Sep 17 00:00:00 2001 From: GitGinocchio Date: Tue, 27 Aug 2024 14:55:34 +0200 Subject: [PATCH] test --- README.md | 9 ++------- main.py | 7 +------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index a5c1a66..359b4fa 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,8 @@ Show your spotify stats inside your README.md +
Top 10 Artists
@@ -14,8 +13,6 @@ Show your spotify stats inside your README.md
-# Last 10 Songs Listened To -
Last 10 Songs Listened To @@ -24,9 +21,7 @@ Show your spotify stats inside your README.md
-# Top 10 Most Played Songs - - +
Top 10 Most Played Songs
diff --git a/main.py b/main.py index 0138ec2..b477836 100644 --- a/main.py +++ b/main.py @@ -41,7 +41,6 @@ # Nuovo contenuto da inserire nella sezione new_content = f""" -# Top 10 Artists
Top 10 Artists @@ -56,8 +55,6 @@
-# Last 10 Songs Listened To -
Last 10 Songs Listened To @@ -72,8 +69,6 @@
-# Top 10 Most Played Songs -
Top 10 Most Played Songs @@ -98,5 +93,5 @@ ) # Scrivi il contenuto aggiornato nel file README.md -with open('README.md', 'w') as file: +with open('README.md', 'w', encoding='utf-8') as file: file.write(updated_content) \ No newline at end of file