From f7eef643e363e71509352bd55d7f4d17212b639f Mon Sep 17 00:00:00 2001 From: Swee Date: Thu, 10 Oct 2024 16:36:18 -0700 Subject: [PATCH] Patch: Fix uptime command not found. --- sweebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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__)