← Back to team overview

sikuli-driver team mailing list archive

[Question #143302]: Settings not defined in imported Python script

 

New question #143302 on Sikuli:
https://answers.launchpad.net/sikuli/+question/143302

When I import a Python module, the Settings property isn't working

Main script:
import os
ini_path = os.path.dirname(getBundlePath())
if not ini_path in sys.path:
    sys.path.append(ini_path)

from Ini import *

Ini.py module:

Settings.MoveMouseDelay = 0.2



The following error shows up:

NameError: name 'Settings' is not defined


I'm not sure whether this is a namespace issue or a Sikuli module issue.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.