Notification screenshots - now PNG only for now to save disk space (no point creating two images) (#1481)

This commit is contained in:
dgtlmoon
2023-03-18 20:52:52 +01:00
committed by GitHub
parent 6e71088cde
commit e6d2d87b31
4 changed files with 9 additions and 26 deletions

View File

@@ -313,17 +313,6 @@ class model(dict):
# False is not an option for AppRise, must be type None
return None
def get_screenshot_as_jpeg(self):
# Created by save_screenshot()
fname = os.path.join(self.watch_data_dir, "last-screenshot.jpg")
if os.path.isfile(fname):
return fname
# False is not an option for AppRise, must be type None
return None
def __get_file_ctime(self, filename):
fname = os.path.join(self.watch_data_dir, filename)
if os.path.isfile(fname):