diff --git a/pubs/commands/url_cmd.py b/pubs/commands/url_cmd.py index 716653f..5591b77 100644 --- a/pubs/commands/url_cmd.py +++ b/pubs/commands/url_cmd.py @@ -30,6 +30,7 @@ def command(conf, args): webbrowser.open(url) except KeyError as e: - ui.error(key, 'has no url') + ui.error('{} has no url'.format(key)) + print(key) rp.close()