From da7e4df9d520c4bca84966dd3807e2dc32155fb3 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Sat, 14 Aug 2021 21:56:21 +0300 Subject: [PATCH] Added backup to GTAwhatToBuy.py --- GTAwhatToBuy/GTAwhatToBuy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GTAwhatToBuy/GTAwhatToBuy.py b/GTAwhatToBuy/GTAwhatToBuy.py index f4a71f0..3db8364 100644 --- a/GTAwhatToBuy/GTAwhatToBuy.py +++ b/GTAwhatToBuy/GTAwhatToBuy.py @@ -151,7 +151,7 @@ while True: specif.append(int(input("Type here price of item (without spaces or comas): "))) database[nameofnewitem] = specif basewrite = open('whattobuy.database', 'w+') - json.dump(database, basewrite, indent=3) + json.dump(database, basewrite, indent=3, ensure_ascii=False) basewrite.close() elif doing == "7":