aboutsummaryrefslogtreecommitdiffstats
path: root/test/uitests.sikuli/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/uitests.sikuli/config.py')
-rw-r--r--test/uitests.sikuli/config.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/uitests.sikuli/config.py b/test/uitests.sikuli/config.py
index 27e7a74..ab89dc8 100644
--- a/test/uitests.sikuli/config.py
+++ b/test/uitests.sikuli/config.py
@@ -1,4 +1,4 @@
-# config.py
+#config.py
import os
import time
from sikuli.Sikuli import *
@@ -8,8 +8,9 @@ def set_image_dirs():
"""Set the Sikuli image path for the os specific
image directory and the main Image dir.
"""
- os_imgs = os.path.join(os.path.dirname(os.path.abspath(__file__)),
- "Images_"+get_os_name())
+ os_imgs = os.path.join(
+ os.path.dirname(
+ os.path.abspath(__file__)), "Images_"+get_os_name())
imgs = os.path.join(os.path.dirname(os.path.abspath(__file__)), "Images")
dir_list = [imgs, os_imgs]
@@ -41,10 +42,11 @@ def launch_cmd():
if get_os_name() == "osx":
launch_cmd = "/Applications/Libre Video Converter.app"
elif get_os_name() == "win":
- launch_cmd = os.path.join(os.getenv("PROGRAMFILES"),
- "Participatory Culture Foundation",
- "Libre Video Converter",
- "LibreConverter.exe")
+ launch_cmd = os.path.join(
+ os.getenv("PROGRAMFILES"),
+ "Participatory Culture Foundation",
+ "Libre Video Converter",
+ "LibreVideoConverter.exe")
else:
print(get_os_name())
print(launch_cmd)