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 filename:
|
||||||
if is_image_file(filename):
|
if is_image_file(filename):
|
||||||
post_image_filename = filename.replace('.temp', '')
|
|
||||||
# convert to low bandwidth if needed
|
# convert to low bandwidth if needed
|
||||||
if low_bandwidth:
|
if low_bandwidth:
|
||||||
print('Converting to low bandwidth ' + filename)
|
print('Converting to low bandwidth ' + filename)
|
||||||
convert_image_to_low_bandwidth(filename)
|
convert_image_to_low_bandwidth(filename)
|
||||||
_apply_watermark_to_image(base_dir, nickname, domain,
|
_apply_watermark_to_image(base_dir, nickname, domain,
|
||||||
filename)
|
filename)
|
||||||
|
post_image_filename = filename.replace('.temp', '')
|
||||||
print('Removing metadata from ' + post_image_filename)
|
print('Removing metadata from ' + post_image_filename)
|
||||||
city = get_spoofed_city(city, base_dir, nickname, domain)
|
city = get_spoofed_city(city, base_dir, nickname, domain)
|
||||||
process_meta_data(base_dir, nickname, domain,
|
process_meta_data(base_dir, nickname, domain,
|
||||||
|
|
Loading…
Reference in New Issue