Fixed error in configuration script

This commit is contained in:
Lauchmelder23 2021-03-26 09:13:21 +00:00
parent 3ad1c000ab
commit 7404742c69

View file

@ -8,5 +8,5 @@ parser.add_argument("secret", type=str)
args = parser.parse_args()
data = {"client_id": args.client_id, "secret": args.secret}
with open("config.json") as file:
with open("config.json", "w") as file:
json.dump(data, file)