Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
---/ added main entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Dec 10, 2015
1 parent babf3ca commit 2a798f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sirtalkalot/bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from collections import defaultdict

import docopt

from slackapi import SlackApi

from sirtalkalot import services
Expand Down Expand Up @@ -213,6 +212,9 @@ def main():
args = docopt.docopt(doc=SirTalkALot.main.__doc__, version='0.0.1')
sirtalkalot = SirTalkALot(args['--auth-token'])

def main():
SirTalkALot.main()


if __name__ == '__main__':
SirTalkALot.main()
main()

0 comments on commit 2a798f4

Please sign in to comment.