diff --git a/git.py b/git.py
index 5b6977c6..7771effb 100644
--- a/git.py
+++ b/git.py
@@ -68,8 +68,8 @@ def receiveGitPatch(baseDir: str, nickname: str, domain: str,
# replace html formatting, so that it's more
# like the original patch file
- contentStr = content.replace('
','\n').replace('
','\n')
- contentStr = contentStr.replace('
','').replace('
','\n') + contentStr = content.replace('', '').replace('
', '\n') patchLines = contentStr.split('\n') patchFilename = None diff --git a/inbox.py b/inbox.py index 837a6c03..b7ba3197 100644 --- a/inbox.py +++ b/inbox.py @@ -2052,7 +2052,7 @@ def inboxAfterCapabilities(recentPostsCache: {}, maxRecentPosts: int, print('Debug git 1') if isinstance(postJsonObject['object'], dict): print('Debug git 2') - pprint(postJsonObject) + pprint(postJsonObject) if postJsonObject['object'].get('content') and \ postJsonObject['object'].get('summary'): print('Debug git 3')