This commit is contained in:
Ruben van de Ven 2019-10-31 15:30:28 +01:00
parent ed9ebdf79e
commit 83a8bd3158

View file

@ -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()