Skip to content

Commit

Permalink
oh, that was a string...
Browse files Browse the repository at this point in the history
  • Loading branch information
freiheit committed Jul 4, 2016
1 parent b02f54b commit 71f9098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feed2discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def build_message(FEED,item,channel):
# This schedules an 'actually_send_message' coroutine to run
@asyncio.coroutine
def send_message_wrapper(asyncioloop,FEED,feed,channel,client,message):
delay = FEED.getint(channel['name']+'.delay',FEED.getint('delay','0'))
delay = FEED.getint(channel['name']+'.delay',FEED.getint('delay',0))
logger.debug(feed+':'+channel['name']+':scheduling message with delay of '+str(delay))
asyncioloop.create_task(actually_send_message(channel,message,delay,FEED,feed))
logger.debug(feed+':'+channel['name']+':message scheduled')
Expand Down

0 comments on commit 71f9098

Please sign in to comment.