Fix scan
This commit is contained in:
parent
ed9ebdf79e
commit
83a8bd3158
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ class CentralManagement():
|
||||||
|
|
||||||
cmd = [
|
cmd = [
|
||||||
'sudo', 'scanimage', '-d', 'epkowa', '--format', 'jpeg',
|
'sudo', 'scanimage', '-d', 'epkowa', '--format', 'jpeg',
|
||||||
'--resolution=100', '-l','20','-t','30','-x',(self.config['scanner']['height']),
|
'--resolution=100', '-l','20','-t','30','-x',str(self.config['scanner']['height']),
|
||||||
'-y',str(self.config['scanner']['width'])
|
'-y',str(self.config['scanner']['width'])
|
||||||
]
|
]
|
||||||
filename = self.currentHit.getImagePath()
|
filename = self.currentHit.getImagePath()
|
||||||
|
|
Loading…
Reference in a new issue