From 8f0639ab441927e788896dd642580e195f21db64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Fri, 29 Mar 2019 04:00:17 +0100 Subject: [PATCH] added quit() --- buildConfig.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildConfig.py b/buildConfig.py index 059bc90..ae8d7b0 100644 --- a/buildConfig.py +++ b/buildConfig.py @@ -18,6 +18,7 @@ if version == 'A' or 'a': data = {'token': token, 'prefix': prefix, 'ownerID': ownerID} with open("config.json", "w") as outfile: json.dump(data, outfile) + quit() if version == 'B' or 'b': print('You choosed the recommanded version') @@ -40,6 +41,7 @@ if version == 'B' or 'b': data = {'token': token, 'prefix': prefix, 'ownerID': ownerID, 'botID': botID, 'statsChannel': statsChannel, 'supportServer': supportServer, 'feedbackChannel': feedbackChannel} with open("config.json", "w") as outfile: json.dump(data, outfile) + quit() if version == 'C' or 'c': print('You choosed the full version') @@ -79,3 +81,4 @@ if version == 'C' or 'c': data = {'token': token, 'prefix': prefix, 'ownerID': ownerID, 'botID': botID, 'statsChannel': statsChannel, 'supportServer': supportServer, 'feedbackChannel': feedbackChannel, 'fbuser': fbuser, 'fbpasswd': fbpasswd, 'yandexAPI': yandexAPI, 'acoustID': acoustID, 'twiConsumer': twiConsumer, 'twiConsumerSecret': twiConsumerSecret, 'twiToken': twiToken, 'twiTokenSecret': twiTokenSecret} with open("config.json", "w") as outfile: json.dump(data, outfile) + quit()