Skip to content

Commit

Permalink
[images] Fix create_default_topology condition check #421
Browse files Browse the repository at this point in the history
Fix if condition checking if the default topology should be created.

Fixes #421
  • Loading branch information
keviiin38 committed Dec 23, 2024
1 parent f8156d6 commit a28d996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/openwisp_dashboard/load_init_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,6 @@ def create_default_topology(vpn):
create_default_credentials()
create_ssh_key_template()

if os.environ.get('USE_OPENWISP_TOPOLOGY', False):
if os.environ.get('USE_OPENWISP_TOPOLOGY', False) == "True":
Topology = load_model('topology', 'Topology')
create_default_topology(default_vpn)

0 comments on commit a28d996

Please sign in to comment.