From: mfranz Date: Wed, 5 Mar 2008 18:21:45 +0000 (+0000) Subject: ... and do no longer assume that the separator is only one character ;-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=615d5ef4d8244e7ab3da8908d84f46593157d4c6;p=flightgear.git ... and do no longer assume that the separator is only one character ;-) --- diff --git a/utils/Modeller/uv_import_svg.py b/utils/Modeller/uv_import_svg.py index 7a1d9cbcc..e934be5ee 100755 --- a/utils/Modeller/uv_import_svg.py +++ b/utils/Modeller/uv_import_svg.py @@ -237,7 +237,7 @@ class import_svg: return meshname = str(ident[:sep]) - num = int(ident[sep + 1:]) + num = int(ident[sep + len(ID_SEPARATOR):]) if not meshname in self.meshes: print('unknown mesh "%s"' % meshname)