diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-01-06 18:20:29 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-01-06 18:20:29 -0800 |
commit | 36e0409db4486c1043e46699d07278e4abbedcec (patch) | |
tree | 3d44411b80523e6316cf115700050a4a3e91ee37 /youtube | |
parent | c80a6b5eedde9c016e23d96892ec8f05c0adb79c (diff) | |
download | yt-local-36e0409db4486c1043e46699d07278e4abbedcec.tar.lz yt-local-36e0409db4486c1043e46699d07278e4abbedcec.tar.xz yt-local-36e0409db4486c1043e46699d07278e4abbedcec.zip |
Add newline to end of files
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/channel.py | 2 | ||||
-rw-r--r-- | youtube/comments.css | 2 | ||||
-rw-r--r-- | youtube/comments.py | 2 | ||||
-rw-r--r-- | youtube/local_playlist.py | 2 | ||||
-rw-r--r-- | youtube/opensearch.xml | 2 | ||||
-rw-r--r-- | youtube/playlist.py | 2 | ||||
-rw-r--r-- | youtube/post_comment.py | 2 | ||||
-rw-r--r-- | youtube/search.py | 2 | ||||
-rw-r--r-- | youtube/shared.css | 2 | ||||
-rw-r--r-- | youtube/template.py | 2 | ||||
-rw-r--r-- | youtube/watch.py | 2 | ||||
-rw-r--r-- | youtube/youtube.py | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/youtube/channel.py b/youtube/channel.py index 087c13c..6acb371 100644 --- a/youtube/channel.py +++ b/youtube/channel.py @@ -450,4 +450,4 @@ def get_channel_page_general_url(env, start_response): return b'Unknown channel page: ' + page.encode('utf-8') start_response('200 OK', [('Content-type','text/html'),]) - return result.encode('utf-8')
\ No newline at end of file + return result.encode('utf-8') diff --git a/youtube/comments.css b/youtube/comments.css index 866551e..4cec3e1 100644 --- a/youtube/comments.css +++ b/youtube/comments.css @@ -126,4 +126,4 @@ .more-comments{ justify-self:center; margin-top:10px; -}
\ No newline at end of file +} diff --git a/youtube/comments.py b/youtube/comments.py index 5181ee8..10209e7 100644 --- a/youtube/comments.py +++ b/youtube/comments.py @@ -420,4 +420,4 @@ def get_comments_page(env, start_response): header = common.get_header(), comments_area = comments_area, page_title = page_title, - ).encode('utf-8')
\ No newline at end of file + ).encode('utf-8') diff --git a/youtube/local_playlist.py b/youtube/local_playlist.py index f25e826..bfca48f 100644 --- a/youtube/local_playlist.py +++ b/youtube/local_playlist.py @@ -166,4 +166,4 @@ def edit_playlist(env, start_response): start_response('204 No Content', ()) else: start_response('400 Bad Request', ()) - return b'400 Bad Request'
\ No newline at end of file + return b'400 Bad Request' diff --git a/youtube/opensearch.xml b/youtube/opensearch.xml index 7071a25..fce9d71 100644 --- a/youtube/opensearch.xml +++ b/youtube/opensearch.xml @@ -8,4 +8,4 @@ <Param name="query" value="{searchTerms}"/> </Url> <SearchForm>http://localhost:$port_number/youtube.com/search</SearchForm> -</SearchPlugin>
\ No newline at end of file +</SearchPlugin> diff --git a/youtube/playlist.py b/youtube/playlist.py index fbb0322..ee447e7 100644 --- a/youtube/playlist.py +++ b/youtube/playlist.py @@ -120,4 +120,4 @@ def get_playlist_page(env, start_response): page_buttons = page_buttons, stats = stats, **html_ready - ).encode('utf-8')
\ No newline at end of file + ).encode('utf-8') diff --git a/youtube/post_comment.py b/youtube/post_comment.py index f5b1fd8..92c45e1 100644 --- a/youtube/post_comment.py +++ b/youtube/post_comment.py @@ -213,4 +213,4 @@ textarea{ style = style, header = common.get_header(), page = page, - ).encode('utf-8')
\ No newline at end of file + ).encode('utf-8') diff --git a/youtube/search.py b/youtube/search.py index 4ffa2ba..db65eaa 100644 --- a/youtube/search.py +++ b/youtube/search.py @@ -138,4 +138,4 @@ def get_search_page(env, start_response): page_buttons = common.page_buttons_html(page, estimated_pages, URL_ORIGIN + "/search", env['QUERY_STRING']), corrections = corrections ) - return result.encode('utf-8')
\ No newline at end of file + return result.encode('utf-8') diff --git a/youtube/shared.css b/youtube/shared.css index b23f6b7..1b25d7f 100644 --- a/youtube/shared.css +++ b/youtube/shared.css @@ -369,4 +369,4 @@ address{ background-color: #d0d0d0; padding: 2px; justify-self: start; -}
\ No newline at end of file +} diff --git a/youtube/template.py b/youtube/template.py index b6df1ef..d1a5e58 100644 --- a/youtube/template.py +++ b/youtube/template.py @@ -129,4 +129,4 @@ class Template(metaclass=_TemplateMetaclass): return mo.group() raise ValueError('Unrecognized named group in pattern', self.pattern) - return self.pattern.sub(convert, self.template)
\ No newline at end of file + return self.pattern.sub(convert, self.template) diff --git a/youtube/watch.py b/youtube/watch.py index 0ca3778..9e3a1c2 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -356,4 +356,4 @@ def get_watch_page(env, start_response): music_list = music_list_html, is_unlisted = '<span class="is-unlisted">Unlisted</span>' if info['unlisted'] else '', ) - return page.encode('utf-8')
\ No newline at end of file + return page.encode('utf-8') diff --git a/youtube/youtube.py b/youtube/youtube.py index 46cfdf0..988e09a 100644 --- a/youtube/youtube.py +++ b/youtube/youtube.py @@ -102,4 +102,4 @@ def youtube(env, start_response): else: start_response('501 Not Implemented', ()) - return b'501 Not Implemented'
\ No newline at end of file + return b'501 Not Implemented' |