From cecdf5bc047616e9605ae25967c72b190759ea5a Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Thu, 2 Aug 2018 22:48:06 +0200 Subject: [PATCH] Fixed wrong category for keep_pictures setting --- .gitignore | 1 + photobooth/camera/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8089294..a142f2c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ photobooth.cfg +**/*.pyc **/__pycache__ .eggs .venv diff --git a/photobooth/camera/__init__.py b/photobooth/camera/__init__.py index 59ed75a..db7c217 100644 --- a/photobooth/camera/__init__.py +++ b/photobooth/camera/__init__.py @@ -50,7 +50,7 @@ class Camera: self._pic_dims = None self._is_preview = self._cfg.getBool('Photobooth', 'show_preview') - self._is_keep_pictures = self._cfg.getBool('Picture', 'keep_pictures') + self._is_keep_pictures = self._cfg.getBool('Storage', 'keep_pictures') def startup(self):