import sys sys.path.insert(0,"/var/www/haproxy-wi/") from app import app as application