diff --git a/PythonClient/carla/benchmarks/benchmark.py b/PythonClient/carla/benchmarks/benchmark.py index a1b113d66..e5ced2339 100644 --- a/PythonClient/carla/benchmarks/benchmark.py +++ b/PythonClient/carla/benchmarks/benchmark.py @@ -299,9 +299,7 @@ class Benchmark(object): def _experiment_exist(self): - - folder = os.path.dirname(self._full_name) - return os.path.isdir(folder) + return os.path.isfile(self._full_name) def _get_last_position(self):