This commit is contained in:
2023-11-27 20:35:53 +01:00
parent 4adba7d017
commit b743afed4e

View File

@@ -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")