9 lines
317 B
Python
9 lines
317 B
Python
"""The settings page: a small web server on the Ingest Mac beside the watchdog."""
|
|||
|
|
import os
|
||
|
|
import sys
|
||
|
|
|
||
|
|
HERE = os.path.dirname(os.path.abspath(__file__))
|
||
|
|
PARENT = os.path.dirname(HERE)
|
||
|
|
if PARENT not in sys.path: # status_panel, schema, make_page live one folder up
|
||
|
|
sys.path.insert(0, PARENT)
|