import sys sys.path.insert(0, '/opt/adguard-dashboard') from dashboard import app as application