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,