From 4514154364fe753a6a065653a1bde3f6db8a8731 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Thu, 5 Jan 2017 02:25:49 +0100 Subject: [PATCH] Fix diff error --- src/Content/ContentManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index 13142c13..9e6725a0 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -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", {}):