mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
Merge branch '16.0' of https://github.com/guohuadeng/app-odoo into 16.0
This commit is contained in:
@@ -162,7 +162,7 @@ def get_image_url2attachment(url):
|
||||
try:
|
||||
if url.startswith('//'):
|
||||
url = 'https:%s' % url
|
||||
response = requests.get(url, timeout=30)
|
||||
response = requests.get(url, timeout=90)
|
||||
except Exception as e:
|
||||
return None, None
|
||||
# 返回这个图片的base64编码
|
||||
|
||||
Reference in New Issue
Block a user