Fix definition of variable.
This commit is contained in:
parent
68cc61cf01
commit
2df4772c9d
@ -151,6 +151,7 @@ def get_channel_ID(channelName):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
logging.basicConfig(filename='mojojojo.log', level=logging.INFO)
|
logging.basicConfig(filename='mojojojo.log', level=logging.INFO)
|
||||||
logging.info('Started')
|
logging.info('Started')
|
||||||
|
results_file = Path("/results.json")
|
||||||
if slack_client.rtm_connect(with_team_state=False):
|
if slack_client.rtm_connect(with_team_state=False):
|
||||||
print("mojo jojo online, connected, and running!")
|
print("mojo jojo online, connected, and running!")
|
||||||
# Read bot's user ID by calling Web API method `auth.test`
|
# Read bot's user ID by calling Web API method `auth.test`
|
||||||
|
Loading…
Reference in New Issue
Block a user