screenshot, fixes

This commit is contained in:
Lemke Henrik Till
2017-11-17 21:41:42 +01:00
parent c912fe335c
commit 7c60e06f31
+2 -1
View File
@@ -69,7 +69,8 @@ class Screenshot:
fina+='_%s'%self.user
fina+='.png'
filepath = os.path.join(self._screenshot_directory,fina)
cmd.append('--file=\"%s\"'%filepath)
cmd.append('--file')
cmd.append(filepath)
p = subprocess.Popen(cmd,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
return filepath,p