RVM-Wrapper eingebaut, nur zwecks Backup committet,bitte ignorieren
This commit is contained in:
parent
e9ba7b34ca
commit
5da920a77b
4
bot.rb
4
bot.rb
|
@ -42,7 +42,7 @@ if (last_status != $current_status)
|
||||||
tweet = "Raumstatus UNBEKANNT."
|
tweet = "Raumstatus UNBEKANNT."
|
||||||
status = "unknown"
|
status = "unknown"
|
||||||
end
|
end
|
||||||
client.update(tweet)
|
|
||||||
$config['worker']['last_status'] = status
|
$config['worker']['last_status'] = status
|
||||||
File.open(CONFIG_FILE, 'w') { |f| YAML.dump($config, f) }
|
File.open(CONFIG_FILE, 'w') { |f| YAML.dump($config, f) }
|
||||||
end
|
client.update(tweet)
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue