Mentions légales du service

Skip to content
Snippets Groups Projects

[gen:wiki] fix incompatible call of hash element for 2.7

Merged POUILLOUX Laurent requested to merge fix_mw_api_login into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -16,9 +16,9 @@ class WikiGenerator
tries = 3
begin
conf = RefRepo::Utils.get_api_config
@mw_client.log_in(conf[:username], conf[:botpassword])
@mw_client.log_in(conf["username"], conf["botpassword"])
rescue
if !conf.has_key?(:botpassword)
if !conf.has_key?("botpassword")
raise "botpassword is not defined, see https://www.grid5000.fr/w/TechTeam:Reference_Repository#Credentials"
end
tries -= 1
Loading