Don't generate cache files when ran locally

This commit is contained in:
Patrick Griffis 2017-05-19 00:08:39 -04:00
parent 8932de4dc1
commit eba8a3c11e

View file

@ -20,6 +20,7 @@ from os.path import realpath, dirname, normpath
LAUNCH_PATH = dirname(realpath(__file__))
if LAUNCH_PATH != "/usr/bin":
sys.dont_write_bytecode = True
SOURCE_PATH = normpath(os.path.join(LAUNCH_PATH, '..'))
sys.path.insert(0, SOURCE_PATH)