Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 370 Bytes
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lib'))
# see issue772:
ultimate_sys_path = None
def fix_sys_path():
global ultimate_sys_path
if ultimate_sys_path is None:
ultimate_sys_path = list(sys.path)
sys.path[:] = ultimate_sys_path
Jump to Line
Something went wrong with that request. Please try again.