Skip to content

Commit

Permalink
Preload network links
Browse files Browse the repository at this point in the history
  • Loading branch information
zachhuff386 committed Oct 22, 2015
1 parent 0c0b836 commit 5faa48b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pritunl/server/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ def generate_ovpn_conf(self):
server_id=self.server.id,
)

# Preload network links
_ = self.server.network_links

if not self.server.primary_organization or \
not self.server.primary_user:
self.server.create_primary_user()
Expand Down

0 comments on commit 5faa48b

Please sign in to comment.