Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import sys, os
  2.  
  3. INTERP = '/home/<example_username>/<example.com>/env/bin/python'
  4. if sys.executable != INTERP:
  5. os.execl(INTERP, INTERP, *sys.argv)
  6. sys.path.append(os.getcwd())
  7.  
  8. from app import app as application
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement