mirror of
https://github.com/hatamiarash7/WireGuard-Config-Generator.git
synced 2025-06-11 04:06:41 +02:00
Update main.py
This commit is contained in:
parent
535bfc9fa2
commit
b468a4a71e
2
main.py
2
main.py
@ -66,6 +66,8 @@ def generate_config(profile: dict) -> None:
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
"""The main function"""
|
||||||
|
|
||||||
# Load endpoint data from JSON file
|
# Load endpoint data from JSON file
|
||||||
with open('endpoints.json', 'r', encoding='UTF-8') as endpoints_file:
|
with open('endpoints.json', 'r', encoding='UTF-8') as endpoints_file:
|
||||||
endpoints = json.load(endpoints_file)
|
endpoints = json.load(endpoints_file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user