Commit dc3d23e4711309afda470753cb28bc28e968d622

Authored by Patrick Maeght
1 parent 0ff5f898
Exists in dev

sys.path

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
src/monitoring/start_agent_monitoring.py
... ... @@ -3,6 +3,10 @@
3 3 import os
4 4 import sys
5 5  
  6 +sub_path = os.path.abspath("../")
  7 +new_path = sub_path
  8 +sys.path.insert(0, new_path)
  9 +print("Starting", sys.path)
6 10 # DJANGO setup
7 11 #sys.path.append('/PROJECTS/GFT/SOFT/PYROS_SOFT/PYROS201802')
8 12 sys.path.append('..')
... ...