Fix diff error
This commit is contained in:
parent
889c88c492
commit
4514154364
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ class ContentManager(object):
|
|||
# Get diffs for changed files
|
||||
def getDiffs(self, inner_path, limit=30 * 1024, update_files=True):
|
||||
if inner_path not in self.contents:
|
||||
return None
|
||||
return {}
|
||||
diffs = {}
|
||||
content_inner_path_dir = helper.getDirname(inner_path)
|
||||
for file_relative_path in self.contents[inner_path].get("files", {}):
|
||||
|
|
Loading…
Reference in a new issue