requests raises an error when the useragent starts with \n
This commit is contained in:
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user