Commit 08b2c58c authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: rcode is now in public section

parent a26b369e
......@@ -117,7 +117,7 @@ def getRcode(config):
parser = ConfigParser.ConfigParser()
try:
parser.read(config['knowledge0_cfg'])
return parser.get('private', 'recovery-code')
return parser.get('public', 'recovery-code')
except (ConfigParser.NoSectionError, IOError) as e:
return None
......
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