Skip to content

Commit

Permalink
Merge pull request #46 from jupyterhub/fix-installatio-errors
Browse files Browse the repository at this point in the history
Fix installation errors
  • Loading branch information
yuvipanda authored Feb 5, 2019
2 parents 7e39e46 + 969eb7a commit 7b0953c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ venv.bak/

# mypy
.mypy_cache/

jupyterhub.sqlite
jupyterhub_cookie_secret
5 changes: 3 additions & 2 deletions nativeauthenticator/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ def get_result_message(self, user):

if pw_len:
message = ("Something went wrong. Be sure your password has "
f"at least {pw_len} characters, doesn't have "
"spaces or commas and is not too common.")
"at least {} characters, doesn't have spaces or "
"commas and is not too common.").format(pw_len)

else:
message = ("Something went wrong. Be sure your password "
" doesn't have spaces or commas and is not too "
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
author_email='leportella@protonmail.com',
license='3 Clause BSD',
packages=find_packages(),
install_requires=['jupyterhub>=0.8'],
install_requires=['jupyterhub>=0.8', 'bcrypt'],
package_data={
'templates': ['*.html'],
'common-credentials': ['common-credentials.txt'],
Expand Down

0 comments on commit 7b0953c

Please sign in to comment.