Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def check_files():
f = "data/playsound/settings.json"
if not dataIO.is_valid_json(f):
print("Creating data/playsound/settings.json...")
dataIO.save_json(f, {})