[168] update pillow

pull/1365/head
meisnate12 2 years ago
parent 6d57dc2a8a
commit b3021d5ed4

@ -1 +1 @@
1.18.3-develop167 1.18.3-develop168

@ -214,11 +214,10 @@ class MyLogger:
def ghost(self, text): def ghost(self, text):
if not self.ignore_ghost: if not self.ignore_ghost:
try: try:
final_text = f"| {text}" print(self._space(f"| {text}"), end="\r")
except UnicodeEncodeError: except UnicodeEncodeError:
text = text.encode("utf-8") text = text.encode("utf-8")
final_text = f"| {text}" print(self._space(f"| {text}"), end="\r")
print(self._space(final_text), end="\r")
self.spacing = len(text) + 2 self.spacing = len(text) + 2
def exorcise(self): def exorcise(self):

@ -709,7 +709,7 @@ class MetadataFile(DataFile):
raise Failed("Image Style Error: style file call attribute is blank") raise Failed("Image Style Error: style file call attribute is blank")
style_dict = style_file[0] if isinstance(style_file, list) else style_file style_dict = style_file[0] if isinstance(style_file, list) else style_file
if not isinstance(style_dict, dict): if not isinstance(style_dict, dict):
raise Failed("Image Style Error: style file call attribute is not a dictionary") raise Failed(f"Image Style Error: style file call attribute: {style_dict} is not a dictionary")
elif not style_dict: elif not style_dict:
raise Failed("Image Style Error: style file call attribute dictionary is empty") raise Failed("Image Style Error: style file call attribute dictionary is empty")
style_data = self.get_style_data(style_dict, section_key, items_data=section_data[item_attr]) style_data = self.get_style_data(style_dict, section_key, items_data=section_data[item_attr])

@ -7,7 +7,7 @@ ruamel.yaml==0.17.21
schedule==1.1.0 schedule==1.1.0
retrying==1.3.4 retrying==1.3.4
pathvalidate==2.5.2 pathvalidate==2.5.2
pillow==9.4.0 pillow==9.5.0
num2words==0.5.12 num2words==0.5.12
psutil==5.9.4 psutil==5.9.4
GitPython==3.1.31 GitPython==3.1.31
Loading…
Cancel
Save