correct the path name
This commit is contained in:
parent
ce29d35af9
commit
4621ed7b1a
|
@ -275,8 +275,7 @@ class City:
|
||||||
:param city_filename: destination city filename
|
:param city_filename: destination city filename
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
|
with bz2.BZ2File(city_filename, 'wb') as f:
|
||||||
with bz2.BZ2File('bz2_test.pbz2', 'wb') as f:
|
|
||||||
pickle.dump(self, f)
|
pickle.dump(self, f)
|
||||||
|
|
||||||
def region(self, center, radius) -> City:
|
def region(self, center, radius) -> City:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user