diff --git a/plugins/Bigfile/BigfilePlugin.py b/plugins/Bigfile/BigfilePlugin.py index 4eebcb95..f9537cb5 100644 --- a/plugins/Bigfile/BigfilePlugin.py +++ b/plugins/Bigfile/BigfilePlugin.py @@ -379,7 +379,7 @@ class SiteStoragePlugin(object): def openBigfile(self, inner_path, prebuffer=0): file_info = self.site.content_manager.getFileInfo(inner_path) - if "piecemap" not in file_info: # It's not a big file + if 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