ansible: correct sys.path fixup.

pull/107/head
David Wilson 7 years ago
parent a39ab8fa54
commit 49eef4c0ad

@ -48,7 +48,7 @@ try:
import ansible_mitogen
except ImportError:
base_dir = os.path.dirname(__file__)
sys.path.insert(0, os.path.abspath(os.path.join(base_dir, '../..')))
sys.path.insert(0, os.path.abspath(os.path.join(base_dir, '../../..')))
del base_dir
from ansible_mitogen.connection import Connection

@ -48,7 +48,7 @@ try:
import ansible_mitogen
except ImportError:
base_dir = os.path.dirname(__file__)
sys.path.insert(0, os.path.abspath(os.path.join(base_dir, '../..')))
sys.path.insert(0, os.path.abspath(os.path.join(base_dir, '../../..')))
del base_dir
from ansible_mitogen.strategy import StrategyModule

Loading…
Cancel
Save