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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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)