From c1c5967d7cfd330ad5331487ed48b1fe2306ca13 Mon Sep 17 00:00:00 2001 From: topilski Date: Thu, 5 Sep 2019 00:06:08 -0400 Subject: [PATCH] Typo --- app/service/subscribers_service_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/service/subscribers_service_manager.py b/app/service/subscribers_service_manager.py index 96e193b..77c3c9e 100644 --- a/app/service/subscribers_service_manager.py +++ b/app/service/subscribers_service_manager.py @@ -215,11 +215,11 @@ class SubscribersServiceManager(ServiceManager, IClientHandler): def __add_maybe_subscriber(self, subs: SubscriberConnection): self._subscribers.append(subs) - print('New connection address: {0}, connections: {1}', subs.address(), len(self._subscribers)) + print('New connection address: {0}, connections: {1}'.format(subs.address(), len(self._subscribers))) def __activate_subscriber(self, subs: SubscriberConnection): - print('Welcome registered user: {0}, connections: {1}', subs.info.email, len(self._subscribers)) + print('Welcome registered user: {0}, connections: {1}'.format(subs.info.email, len(self._subscribers))) def __remove_subscriber(self, subs: SubscriberConnection): self._subscribers.remove(subs) - print('Bye registered user: {0}, connections: {1}', subs.info.email, len(self._subscribers)) + print('Bye registered user: {0}, connections: {1}'.format(subs.info.email, len(self._subscribers)))