Update main.py

This commit is contained in:
Arash Hatami
2023-03-03 22:03:27 +03:30
committed by GitHub
parent 535bfc9fa2
commit b468a4a71e

View File

@ -66,6 +66,8 @@ def generate_config(profile: dict) -> None:
def main():
"""The main function"""
# Load endpoint data from JSON file
with open('endpoints.json', 'r', encoding='UTF-8') as endpoints_file:
endpoints = json.load(endpoints_file)