Skip to content
Snippets Groups Projects
Commit 1ed21613 authored by u214892's avatar u214892
Browse files

Merge branch 'master' of gitlab.aicrowd.com:flatland/flatland

parents 461c5cfe ccb2eccf
No related branches found
No related tags found
No related merge requests found
...@@ -299,8 +299,7 @@ class PILSVG(PILGL): ...@@ -299,8 +299,7 @@ class PILSVG(PILGL):
self.dBuildings = [] self.dBuildings = []
for sFile in dBuildingFiles: for sFile in dBuildingFiles:
sPathSvg = "./svg/" + sFile img = self.pilFromSvgFile('svg',sFile)
img = self.pilFromSvgFile(sPathSvg)
self.dBuildings.append(img) self.dBuildings.append(img)
def loadScenerySVGs(self): def loadScenerySVGs(self):
...@@ -319,8 +318,7 @@ class PILSVG(PILGL): ...@@ -319,8 +318,7 @@ class PILSVG(PILGL):
} }
self.dScenery = [] self.dScenery = []
for sFile in dSceneryFiles: for sFile in dSceneryFiles:
sPathSvg = "./svg/" + sFile img = self.pilFromSvgFile('svg',sFile)
img = self.pilFromSvgFile(sPathSvg)
self.dScenery.append(img) self.dScenery.append(img)
def loadRailSVGs(self): def loadRailSVGs(self):
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment