Commit d67ad02b authored by Ingo Heimbach's avatar Ingo Heimbach

Merge branch 'develop'

parents 5d4cc233 961ba7f4
__version_info__ = (0, 2, 3)
__version_info__ = (0, 2, 4)
__version__ = '.'.join(map(str, __version_info__))
......@@ -49,7 +49,7 @@ def load_and_convert_image(
tmp_dir = None
if image_is_remote:
image_url = image_filepath_or_url
response = requests.get(image_url)
response = requests.get(image_url, headers={"User-Agent": "Mozilla/5.0"})
response.raise_for_status()
image_content = response.content
if not convert_to_base64 or image_will_be_converted:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment