From 4621ed7b1a6bd456a36fce827a1e0ca2f819e236 Mon Sep 17 00:00:00 2001 From: guille Date: Mon, 13 Feb 2023 06:12:07 -0500 Subject: [PATCH] correct the path name --- hub/city_model_structure/city.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: