Fix an issue when getting size from some SVG file

Fix https://github.com/GNS3/gns3-gui/issues/1866
This commit is contained in:
Julien Duponchelle committed 2017-02-20 17:25:26 +01:00
1 parent 132a7bfeb7
commit 961c209ab1
3 files changed
+426 -1

No files matched your search

+2 -1
View File
@@ -120,7 +120,8 @@ def _svg_convert_size(size):
"pc": 15,
"mm": 3.543307,
"cm": 35.43307,
"in": 90
"in": 90,
"px": 1
}
if len(size) > 3:
if size[-2:] in conversion_table: