Commit 55d07491 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

slaprunner: Fix htpasswd use of a former options class

parent 0fcf4f14
......@@ -85,7 +85,7 @@ def saveSession(config, account):
# XXX Cedric Le N order of account list values suppose to be fixed
# Remove former file to avoid aoutdated accounts
passwd = HtpasswdFile(htpasswdfile, create=options.create)
passwd = HtpasswdFile(htpasswdfile, create=True)
passwd.update(account[0], account[1])
return True
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment