mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 JSON Driver] Don't save json if it exists (#1133)
This commit is contained in:
parent
5ebde77747
commit
9b1018fa96
@ -39,7 +39,7 @@ class JSON(BaseDriver):
|
||||
self.data = self.jsonIO._load_json()
|
||||
except FileNotFoundError:
|
||||
self.data = {}
|
||||
self.jsonIO._save_json(self.data)
|
||||
self.jsonIO._save_json(self.data)
|
||||
|
||||
def get_driver(self):
|
||||
return self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user