tmp
This commit is contained in:
parent
d8929d3064
commit
a4524d7384
5 changed files with 31 additions and 16 deletions
|
|
@ -18,10 +18,11 @@ def get_data(name):
|
|||
data = json.load(file)
|
||||
return data
|
||||
except FileNotFoundError:
|
||||
return f"File {name}.json not found."
|
||||
print(f"File {name}.json not found.")
|
||||
return {}
|
||||
except json.JSONDecodeError:
|
||||
return f"Error decoding JSON from {name}.json."
|
||||
|
||||
print(f"Error decoding JSON from {name}.json.")
|
||||
return {}
|
||||
|
||||
def save_data(data, name):
|
||||
def remove_available_markets(obj):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue