Closed yakirdayan closed 1 year ago
Did you put targets.json in the directory? You need to modify the path on windows perhaps to fit the right path for targets.json.
Closing because not a bug, make sure you put the file in the directory and as you are using windows, mention the complete file path.
Traceback (most recent call last): File "c:\Users\User\Desktop\python-red-alert-master\src\main.py", line 150, in
main()
File "c:\Users\User\Desktop\python-red-alert-master\src\main.py", line 108, in main
alert = RedAlert()
File "c:\Users\User\Desktop\python-red-alert-master\src\main.py", line 15, in init
self.locations = self.get_locations_list()
File "c:\Users\User\Desktop\python-red-alert-master\src\main.py", line 83, in get_locations_list
f = open('targets.json')
FileNotFoundError: [Errno 2] No such file or directory: 'targets.json'