Skip to content

Commit a192bb7

Browse files
committed
Minor change to start plugin
1 parent a1242f4 commit a192bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spockbot/plugins/helpers/start.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def __init__(self, ploader, settings):
2727
setattr(ploader, 'start', self.start)
2828

2929
def start(self, host=None, port=None):
30-
self.host = host if host else self.settings['host']
31-
self.port = port if port else self.settings['port']
30+
self.host = host or self.settings['host']
31+
self.port = port or self.settings['port']
3232
self.auth.username = self.settings['username']
3333
self.auth.password = self.settings['password']
3434
self.event.event_loop()

0 commit comments

Comments
 (0)