Skip to content

Commit a3bd3a4

Browse files
authored
Merge pull request #752 from luxonis/750-bug-nameerror-name-app-is-not-defined
Include App in all cases
2 parents dacc13f + ae85fbe commit a3bd3a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

depthai_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
import depthai as dai
2828
import numpy as np
2929
from depthai_sdk.managers import ArgsManager, getMonoResolution, getRgbResolution
30+
from depthai_helpers.app_manager import App
3031
except Exception as ex:
3132
print("Third party libraries failed to import: {}".format(ex))
32-
print("Run \"python3 install_requirements.py\" to install dependencies or visit our installation page for more details - https://docs.luxonis.com/projects/api/en/latest/install/")
33+
print("Run \"python3 install_requirements.py\" to install dependencies")
3334
sys.exit(42)
3435

3536
app = ArgsManager.parseApp()
3637

3738
if __name__ == "__main__":
3839
if app is not None:
39-
from depthai_helpers.app_manager import App
4040
try:
4141
app = App(appName=app)
4242
app.createVenv()

0 commit comments

Comments
 (0)