mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
b05b94edf8
commit
83f7748d57
|
|
@ -70,6 +70,7 @@ from src.data import save_string
|
||||||
from src.data import erase_file
|
from src.data import erase_file
|
||||||
from src.data import move_file
|
from src.data import move_file
|
||||||
from src.data import is_a_file
|
from src.data import is_a_file
|
||||||
|
from src.data import save_flag_file
|
||||||
|
|
||||||
NEW_POST_SUCCESS = 1
|
NEW_POST_SUCCESS = 1
|
||||||
NEW_POST_FAILED = -1
|
NEW_POST_FAILED = -1
|
||||||
|
|
@ -2153,8 +2154,9 @@ def _receive_new_post_process(self, post_type: str, path: str, headers: {},
|
||||||
else:
|
else:
|
||||||
apply_dithering: bool = True
|
apply_dithering: bool = True
|
||||||
if not is_a_file(dither_filename):
|
if not is_a_file(dither_filename):
|
||||||
save_string('.', dither_filename,
|
save_flag_file(dither_filename,
|
||||||
'EX: unable to save dither flag ' + dither_filename)
|
'EX: unable to write ditherImage ' +
|
||||||
|
dither_filename)
|
||||||
|
|
||||||
buy_url: str = ''
|
buy_url: str = ''
|
||||||
if fields.get('buyUrl'):
|
if fields.get('buyUrl'):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue