Fix logic BigfilePlugin.py
This commit is contained in:
parent
3582b2c114
commit
22bb77e7a0
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class SiteStoragePlugin(object):
|
|||
|
||||
def openBigfile(self, inner_path, prebuffer=0):
|
||||
file_info = self.site.content_manager.getFileInfo(inner_path)
|
||||
if file_info and "piecemap" not in file_info: # It's not a big file
|
||||
if not file_info or (file_info and "piecemap" not in file_info): # It's not a big file
|
||||
return False
|
||||
|
||||
self.site.needFile(inner_path, blocking=False) # Download piecemap
|
||||
|
|
Loading…
Reference in a new issue