Skip to content

Commit

Permalink
Don't fail when Endpoint is None, since that is an allowed value …
Browse files Browse the repository at this point in the history
…now.
  • Loading branch information
rudolfbyker committed Aug 1, 2023
1 parent bbad1a8 commit f579c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wg_meshconf/database_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def init(self):
database = self.read_database()

# check values that cannot be generated automatically
for key in ["Address", "Endpoint"]:
for key in ["Address"]:
for peer in database["peers"]:
if database["peers"][peer].get(key) is None:
print(f"The value of {key} cannot be automatically generated")
Expand Down

0 comments on commit f579c2c

Please sign in to comment.