From 6df29331e86ee31c28784d009c6e166f005eac39 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 22 Jul 2024 22:18:32 +0100 Subject: [PATCH] Use filename --- daemon_post_receive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon_post_receive.py b/daemon_post_receive.py index f6abdaf32..64b421718 100644 --- a/daemon_post_receive.py +++ b/daemon_post_receive.py @@ -1729,7 +1729,7 @@ def _receive_new_post_process(self, post_type: str, path: str, headers: {}, print('Converting to low bandwidth ' + filename) convert_image_to_low_bandwidth(filename) _apply_watermark_to_image(base_dir, nickname, domain, - post_image_filename) + filename) print('Removing metadata from ' + post_image_filename) city = get_spoofed_city(city, base_dir, nickname, domain) process_meta_data(base_dir, nickname, domain,