From: Benjamin Braatz Date: Wed, 4 Aug 2021 10:30:31 +0000 (+0200) Subject: Bugfix: Delete 'web-*' on cancellation. X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=411e6694f24203dcfa61f176402cb2b23e0194d0;p=graphit%2Fcontrolpi-camera.git Bugfix: Delete 'web-*' on cancellation. --- diff --git a/controlpi_plugins/camera.py b/controlpi_plugins/camera.py index 34476a4..98b14b8 100644 --- a/controlpi_plugins/camera.py +++ b/controlpi_plugins/camera.py @@ -144,7 +144,7 @@ class Camera(BasePlugin): full_path = os.path.join(self.conf['path'], full_name) if os.path.isfile(full_path): os.remove(full_path) - web_name = 'web_'+full_name + web_name = 'web-'+full_name web_path = os.path.join(self.conf['path'], web_name) if os.path.isfile(web_path): os.remove(web_path)