diff --git a/sweebot.py b/sweebot.py index 9b419ec..3a1f50f 100644 --- a/sweebot.py +++ b/sweebot.py @@ -1,4 +1,4 @@ -__version__ = "0.0.1 patch 6" +__version__ = "0.0.1 Patch: Fix uptime command not found." import socket import subprocess from time import sleep, time, ctime @@ -412,7 +412,7 @@ while True: elif command[0] == "$uptime": try: - system(['uptime -p'], channel) + system(['uptime', '-p'], channel) except Exception as ex: irc.send_irc(channel, nick + ": " + ex.__class__.__name__)