diff --git a/photobooth/worker/PictureList.py b/photobooth/worker/PictureList.py index 6df99fc..73a3ed5 100644 --- a/photobooth/worker/PictureList.py +++ b/photobooth/worker/PictureList.py @@ -61,7 +61,7 @@ class PictureList: pictures.sort() last_picture = pictures[-1] self.counter = int(last_picture[ - -(self.count_width+len(self.suffix)):-len(self.suffix)]) + -(self.count_width + len(self.suffix)):-len(self.suffix)]) # Print initial infos logging.info('Number of last existing file: %d', self.counter)