RVM-Wrapper eingebaut, nur zwecks Backup committet,bitte ignorieren
This commit is contained in:
parent
e9ba7b34ca
commit
5da920a77b
2
bot.rb
2
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) }
|
||||||
|
client.update(tweet)
|
||||||
end
|
end
|
Loading…
Reference in New Issue