From b743afed4e0b650c86e83ca6b3a1d576063792d0 Mon Sep 17 00:00:00 2001 From: scossa Date: Mon, 27 Nov 2023 20:35:53 +0100 Subject: [PATCH] update --- scrapeje.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scrapeje.py b/scrapeje.py index fdf2c53..8f03370 100644 --- a/scrapeje.py +++ b/scrapeje.py @@ -228,6 +228,7 @@ def salvainrubrica(): rubrica.write(nristmax + '\n') rubrica.write(nrist + '\n') rubrica.write(restaurant_url + '\n') + print ('\nIl ristorante"',nrist + '" è stato salvato in rubrica\n') else: #QUANDO IL RISTORATE E' GIA' PRESENTE IN RUBRICA os.remove("JEmenu.html") @@ -253,7 +254,8 @@ def salvainrubrica(): rubrica.write(nristmax + '\n') rubrica.write(nrist + '\n') rubrica.write(restaurant_url + '\n') - print ("\nIl ristorante",nrist +"+è stato salvato in rubrica") + print ('\nIl ristorante "' + nrist + '" è stato salvato in rubrica') + print ('(Riavvia lo script per ordinare da rubrica)\n') else: #PULISCE os.remove("JEmenu.html")