diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-12 13:01:37 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-12 13:01:37 +0300 |
commit | a8369dd63031471e185f38f4bfffaddeeeb3bd3c (patch) | |
tree | 4cd5ddd3f0ede8b79fa0874fb118c44133c98fc5 | |
parent | b15f46289ad180de4bc16a4ee8089e838eb54c25 (diff) | |
download | Servo-a8369dd63031471e185f38f4bfffaddeeeb3bd3c.tar.gz Servo-a8369dd63031471e185f38f4bfffaddeeeb3bd3c.tar.bz2 Servo-a8369dd63031471e185f38f4bfffaddeeeb3bd3c.zip |
fix assert
-rwxr-xr-x | install.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ args['dbuser'] = input('3/10 DB user [servo]: ') or 'servo' args['dbpwd'] = input('4/10 DB password []: ') or '' assert call(['createuser', args['dbuser'], '-U', args['dbadmin']]) == 0, 'Could not create DB user' -assert call(['createdb', args['dbname'], '-O', args['dbuser'], '-U', args['dbadmin']]), 'Could not create DB' +assert call(['createdb', args['dbname'], '-U', args['dbadmin'], '-O', args['dbuser']]) == 0, 'Could not create DB' args['secret_key'] = b64encode(os.urandom(32)).decode('utf-8') args['install_locale'] = input('51/10 Locale [sv_SE.UTF-8]: ') or 'sv_SE.UTF-8' |