mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
6df29331e8
commit
135cd37f17
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue