mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Merge branch 'master' into 3.0
# Conflicts: # dev-requirements.txt # gns3server/controller/__init__.py # gns3server/controller/appliance_manager.py # gns3server/controller/compute.py # gns3server/controller/topology.py # gns3server/handlers/api/compute/ethernet_switch_handler.py # gns3server/handlers/api/controller/link_handler.py # gns3server/handlers/api/controller/symbol_handler.py # gns3server/version.py # requirements.txt # tests/controller/test_export_project.py # tests/handlers/api/compute/test_qemu.py # tests/web/test_response.py # win-requirements.txt
This commit is contained in:
commit
802959f9ab
41 files changed
+697
-74
No files matched your search
@@ -92,7 +92,7 @@ def get_size(data, default_width=0, default_height=0):
|
||||
# End of https://github.com/shibukawa/imagesize_py
|
||||
|
||||
# handle SVG
|
||||
elif size >= 10 and data.startswith(b'<?xml'):
|
||||
elif size >= 10 and (data.startswith(b'<?xml') or data.startswith(b'<svg')):
|
||||
filetype = "svg"
|
||||
fhandle = io.BytesIO(data)
|
||||
tree = ElementTree()
|
||||
|
||||
Reference in new issue
Block a user