12 lines
278 B
Python
12 lines
278 B
Python
import sys
|
|
import os
|
|
|
|
sys.path.insert(0, '/opt/adguard-dashboard')
|
|
|
|
# Activate virtualenv
|
|
activate_this = '/opt/adguard-dashboard/venv/bin/activate_this.py'
|
|
with open(activate_this) as f:
|
|
exec(f.read(), {'__file__': activate_this})
|
|
|
|
from dashboard import app as application
|