|
@@ -108,7 +108,7 @@ class COptionAction(CBaseLog):
|
|
|
def takePicture(self):
|
|
|
img = os.path.join(getSATTmpDIR(), "menutree_runpath.png")
|
|
|
COptionAction.__ccard.takePicture(img)
|
|
|
- if os.path.exists(img):
|
|
|
+ if not os.path.exists(img):
|
|
|
self.error(u"截图失败:%s" % img)
|
|
|
return img
|
|
|
|