From 135cd37f17c82a635ce58c9d58acc5cc5728dee7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 22 Jul 2024 22:20:30 +0100 Subject: [PATCH] Tidying --- 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 64b421718..217e42ff5 100644 --- a/daemon_post_receive.py +++ b/daemon_post_receive.py @@ -1723,13 +1723,13 @@ def _receive_new_post_process(self, post_type: str, path: str, headers: {}, if filename: if is_image_file(filename): - post_image_filename = filename.replace('.temp', '') # convert to low bandwidth if needed if low_bandwidth: print('Converting to low bandwidth ' + filename) convert_image_to_low_bandwidth(filename) _apply_watermark_to_image(base_dir, nickname, domain, filename) + post_image_filename = filename.replace('.temp', '') print('Removing metadata from ' + post_image_filename) city = get_spoofed_city(city, base_dir, nickname, domain) process_meta_data(base_dir, nickname, domain,