Commit e4c435ec authored by marius david's avatar marius david
Browse files

fix PR message

parent 5f882445
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,11 +42,11 @@ def process_post(self, post_body, make_pr = False):
			print("Post does not contain body: " + str(post_id))
			return
		
		post_body = post_body["body"]
		post_body_main = post_body["body"]

		post_json = None
		try:
			post_json = json.loads(post_body)
			post_json = json.loads(post_body_main)
		except:
			print("Post does not contain valid JSON: " + str(post_id))
			self.send_comment(post_id, "An error occurred while parsing this post. Maybe it’s just not a submission, but if it should, then it is not well formatted.")