From c4df4c5b2bab7bf897c2605955f7bd6eb881d619 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Mon, 2 Apr 2012 01:06:11 +1200 Subject: [PATCH] durr --- plugins/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/system.py b/plugins/system.py index ddbfc6e..da64d90 100755 --- a/plugins/system.py +++ b/plugins/system.py @@ -54,7 +54,7 @@ def memory(inp): @hook.command(autohelp=False) def uptime(inp): ".uptime -- Shows the bot's uptime." - if os.name not "posix": + if os.name != "posix": return "Sorry, this command is not supported on your OS." up = subprocess.check_output("ps -eo pid,etime | grep %s | awk " \ "'{print $2}'" % os.getpid(), shell=True)