correct the path name

This commit is contained in:
Guille Gutierrez 2023-02-13 06:12:07 -05:00
parent ce29d35af9
commit 4621ed7b1a

View File

@ -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: