Commit 09b4d14d authored by Leo Iannacone's avatar Leo Iannacone

Merge remote-tracking branch 'github/master' into portable

parents e05f05ed e10ce6a5
......@@ -60,9 +60,9 @@ class Debomatic
key += "/#{status.status}" if status.status?
return key
key = get_key(data)
if data.hasOwnProperty("success") and @status[key]?
if @status[key]? and data["success"]?
delete @status[key]
else
else if not @status[key]? and not data["success"]?
@status[key] = data
@sockets.emit e.status_update, data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment