fix loading cache package in tile server
This commit is contained in:
parent
379f7b91ae
commit
30c7d29e9f
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class TileServer:
|
|||
if self.cache_package_filename != cache_package_filename:
|
||||
logger.debug('Loading new cache package in worker.')
|
||||
self.cache_package_filename = cache_package_filename
|
||||
with open(self.cache_package_filename, 'wb') as f:
|
||||
with open(self.cache_package_filename, 'rb') as f:
|
||||
self.cache_package = pickle.load(f)
|
||||
return self.cache_package
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue