Skip to content

Commit

Permalink
Fixed bug when changing context
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesvink committed Oct 17, 2021
1 parent 6c6cdf6 commit 5af10f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def init_app(self):
# initialize the app

# Only initialize when HtoA is loaded
htoa_env = os.getenv('HTOA')
self.htoa_env = os.getenv('HTOA')

if htoa_env:
if self.htoa_env:
tk_houdini_arnold = self.import_module("tk_houdini_arnold")
self.handler = tk_houdini_arnold.TkHoudiniArnoldHandler(self)

Expand Down

0 comments on commit 5af10f5

Please sign in to comment.