Fixed syntax error.

master
Thomas Hooge 2017-02-02 19:56:32 +01:00
parent ea7403f890
commit 8d93a2cdba
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class Alfred(object):
# every minute. Therefore suppress error output of called program
FNULL = open(os.devnull, 'w')
output = subprocess.check_output(cmd, stderr=FNULL)
close(FNULL)
FNULL.close()
return json.loads(output.decode("utf-8")).values()
def nodeinfo(self):