import sys sys.path.insert(0, "~/owncasthooks") from hooks import app as application