Fixed syntax error.
parent
ea7403f890
commit
8d93a2cdba
|
@ -24,7 +24,7 @@ class Alfred(object):
|
||||||
# every minute. Therefore suppress error output of called program
|
# every minute. Therefore suppress error output of called program
|
||||||
FNULL = open(os.devnull, 'w')
|
FNULL = open(os.devnull, 'w')
|
||||||
output = subprocess.check_output(cmd, stderr=FNULL)
|
output = subprocess.check_output(cmd, stderr=FNULL)
|
||||||
close(FNULL)
|
FNULL.close()
|
||||||
return json.loads(output.decode("utf-8")).values()
|
return json.loads(output.decode("utf-8")).values()
|
||||||
|
|
||||||
def nodeinfo(self):
|
def nodeinfo(self):
|
||||||
|
|
Loading…
Reference in New Issue