Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit ad1586b

Browse files
committed
fix another linter error
1 parent d6e08c5 commit ad1586b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rtmbot/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ def output(self):
125125
result = json.loads(self.slack_client.api_call('im.open', user=destination))
126126
except ValueError:
127127
self._dbg("Parse error on im.open call results!")
128-
channel = self.slack_client.server.channels.find(result.get(u'channel', {}).get(u'id', None))
128+
channel = self.slack_client.server.channels.find(
129+
result.get(u'channel', {}).get(u'id', None))
129130
elif destination.startswith('G'):
130131
result = self.slack_client.api_call('groups.open', channel=destination)
131132
channel = self.slack_client.server.channels.find(destination)

0 commit comments

Comments
 (0)