Skip to content

Commit d9de17a

Browse files
authored
Fix error message regarding use of outdated map version in NuScenesMap (#1132)
1 parent eff3818 commit d9de17a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python-sdk/nuscenes/map_expansion/map_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def __init__(self,
9797
else:
9898
self.version = '1.0'
9999
if self.version < '1.3':
100-
raise Exception('Error: You are using an outdated map version (%s)! '
100+
raise Exception(f'Error: You are using an outdated map version ({self.version})! '
101101
'Please go to https://www.nuscenes.org/download to download the latest map!')
102102

103103
self.canvas_edge = self.json_obj['canvas_edge']

0 commit comments

Comments
 (0)