From 6b750e4c1d0c624f7a7f5228a21ac11d9762240d Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Thu, 21 May 2020 10:58:08 -0400 Subject: [PATCH] Fixed indentation --- content/blog/pysubscribepattern.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/blog/pysubscribepattern.md b/content/blog/pysubscribepattern.md index 045b2b4..2375148 100644 --- a/content/blog/pysubscribepattern.md +++ b/content/blog/pysubscribepattern.md @@ -59,9 +59,9 @@ class Application: def subscribe(func): self.callbacks[event].append(func) return func - if func is None: + if func is None: return subscribe - subscribe(func) + subscribe(func) def emit(self, event, message): for callback in self.callbacks[event]: callback(message)