Skip to content

Commit

Permalink
Removed argument from Slackbot ServerReport()
Browse files Browse the repository at this point in the history
  • Loading branch information
gmemstr committed Mar 13, 2017
1 parent ab1660f commit bca4032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions App.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
# The order in which the processes are started
# is important, since the flask process effectively
# blocks the rest of the code from running (wtfkwbtihiw)
scnp = Thread(target=scn.Fetch()).start()
scnp = Thread(target=scn.Loop()).start()
sbp = Thread(target=sb.Loop()).start()
wsp = Thread(target=ws.Run()).start()

elif config.Get("enable_webserver") is True:
print("Webserver starting up")
#scnp = Thread(target=scn.Loop()).start()
scnp = Thread(target=scn.Loop()).start()
wsp = Thread(target=ws.Run()).start()

elif config.Get("enable_slackbot") is True:
Expand Down
2 changes: 1 addition & 1 deletion src/Slackbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def Post(self,message, channel, username, icon):
username=username, icon_emoji=icon)


def ServerReport(self,data):
def ServerReport(self):
servers = sql.Get()
post = True
off = 0
Expand Down

0 comments on commit bca4032

Please sign in to comment.