Fixed PR issues

This commit is contained in:
Marc Garcia Puig 2020-02-19 17:07:35 +01:00
parent 537e66410c
commit b5c32aa8d2
2 changed files with 3 additions and 3 deletions

View File

@ -203,9 +203,9 @@ def main():
world = client.reload_world()
elif args.xodr_path is not None:
if os.path.exists(args.xodr_path):
with open(args.xodr_path) as file:
with open(args.xodr_path) as od_file:
try:
data = file.read()
data = od_file.read()
except OSError:
print('file could not be readed.')
sys.exit()

View File

@ -30,4 +30,4 @@
0.9.5: 20190404_c7b464a
0.9.6: 20190710_0097e66
0.9.7: 20191221_c88604b
Latest: 20200131_6fe6e09
Latest: 20200219_4637843