diff --git a/check50/__main__.py b/check50/__main__.py index d8f2e6f2..552394d5 100644 --- a/check50/__main__.py +++ b/check50/__main__.py @@ -212,7 +212,7 @@ def __call__(self, parser, namespace, values, option_string=None): except lib50.Error: raise internal.Error(_("failed to logout")) else: - termcolor.termcolor.cprint(_("logged out successfully"), "green") + termcolor.cprint(_("logged out successfully"), "green") parser.exit() diff --git a/check50/_api.py b/check50/_api.py index 7c6424e4..8cceaf8b 100644 --- a/check50/_api.py +++ b/check50/_api.py @@ -452,7 +452,7 @@ def _raw(s): if s == EOF: return "EOF" - s = f'"{repr(s)[1:-1]}"' + s = f'"{repr(str(s))[1:-1]}"' if len(s) > 15: s = s[:15] + "...\"" # Truncate if too long return s diff --git a/setup.py b/setup.py index 491c0a00..954377e4 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,6 @@ "console_scripts": ["check50=check50.__main__:main"] }, url="https://github.com/cs50/check50", - version="3.0.9", + version="3.0.10", include_package_data=True )