diff --git a/hub/city_model_structure/city.py b/hub/city_model_structure/city.py index f3bf38f7..03764570 100644 --- a/hub/city_model_structure/city.py +++ b/hub/city_model_structure/city.py @@ -275,8 +275,7 @@ class City: :param city_filename: destination city filename :return: None """ - - with bz2.BZ2File('bz2_test.pbz2', 'wb') as f: + with bz2.BZ2File(city_filename, 'wb') as f: pickle.dump(self, f) def region(self, center, radius) -> City: