diff --git a/python-sdk/nuscenes/map_expansion/map_api.py b/python-sdk/nuscenes/map_expansion/map_api.py index 53a14a0c..9857f148 100644 --- a/python-sdk/nuscenes/map_expansion/map_api.py +++ b/python-sdk/nuscenes/map_expansion/map_api.py @@ -97,7 +97,7 @@ def __init__(self, else: self.version = '1.0' if self.version < '1.3': - raise Exception('Error: You are using an outdated map version (%s)! ' + raise Exception(f'Error: You are using an outdated map version ({self.version})! ' 'Please go to https://www.nuscenes.org/download to download the latest map!') self.canvas_edge = self.json_obj['canvas_edge']