Feb-25-2020, 10:53 AM
You need to indent the line starting "with"
try: with open("C:\python-script\file\assetLink_tr-TR.json") as f: return json.load(f)Regards