← Back to team overview

sikuli-driver team mailing list archive

[Question #178018]: Moving a image from a .sikuli to another

 

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

Hi all,

My script prints thre screen when an error occurs, and attach it as "print.png".

This script runs each hour, and  when I run it, a "print.png" from another module must be moved here.

if no error occurs, the "print.png" from the other module will stay in the project.
If some error occurs, I overwrite print.png with a screenshot.

I'm having troubles moving the print.png file. Here's the try:

shutil.move("printBase.png", os.path.join(getBundlePath(), "print.png"))


printBase is the default image in the other project ( which is being imported successfully, since I use other functions of it).

this shutil.move is not working! Any ideas?

[]s


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