Fix diff error

This commit is contained in:
shortcutme 2017-01-05 02:25:49 +01:00
parent 889c88c492
commit 4514154364

View file

@ -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", {}):