From bdce9cb4b5484db9abda70f908798f4d7a2c7da0 Mon Sep 17 00:00:00 2001 From: a-tal Date: Tue, 31 Mar 2015 07:58:48 -0700 Subject: [PATCH] requests raises an error when the useragent starts with \n --- rtv/docs.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rtv/docs.py b/rtv/docs.py index 4089ee7..6637ac4 100644 --- a/rtv/docs.py +++ b/rtv/docs.py @@ -2,9 +2,7 @@ from .__version__ import __version__ __all__ = ['AGENT', 'SUMMARY', 'AUTH', 'CONTROLS', 'HELP'] -AGENT = """ -desktop:https://github.com/michael-lazar/rtv:{} (by /u/civilization_phaze_3) -""".format(__version__) +AGENT = "desktop:https://github.com/michael-lazar/rtv:{} (by /u/civilization_phaze_3)".format(__version__) SUMMARY = """ Reddit Terminal Viewer is a lightweight browser for www.reddit.com built into a @@ -42,7 +40,7 @@ Subreddit Mode Submission Mode `LEFT` or `h` : Return to subreddit mode `RIGHT` or `l` : Fold the selected comment, or load additional comments - `c` : Comment/reply on the selected item + `c` : Comment/reply on the selected item """ COMMENT_FILE = """