def addModPath(path):
    if path[-1] == Settings.getFilePathSeperator():
        path = path[:-1]
    if not path in sys.path:
        sys.path.append(path)
dataset/ETHPy150Open azoft-dev-team/imagrium/jars/Lib/sikuli/Sikuli.py/addModPath/original