aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitattributes2
-rw-r--r--run.bat2
-rw-r--r--youtube/channel.py2
-rw-r--r--youtube/comments.css2
-rw-r--r--youtube/comments.py2
-rw-r--r--youtube/local_playlist.py2
-rw-r--r--youtube/opensearch.xml2
-rw-r--r--youtube/playlist.py2
-rw-r--r--youtube/post_comment.py2
-rw-r--r--youtube/search.py2
-rw-r--r--youtube/shared.css2
-rw-r--r--youtube/template.py2
-rw-r--r--youtube/watch.py2
-rw-r--r--youtube/youtube.py2
-rw-r--r--yt_basic_template.html2
-rw-r--r--yt_channel_about_template.html2
-rw-r--r--yt_channel_items_template.html2
-rw-r--r--yt_comments_template.html2
-rw-r--r--yt_local_playlist_template.html2
-rw-r--r--yt_playlist_template.html2
-rw-r--r--yt_search_results_template.html2
-rw-r--r--yt_watch_template.html2
22 files changed, 22 insertions, 22 deletions
diff --git a/.gitattributes b/.gitattributes
index 137d29d..6a3e828 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -29,4 +29,4 @@
# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
-# (among others). \ No newline at end of file
+# (among others).
diff --git a/run.bat b/run.bat
index fc25e1b..2eb104d 100644
--- a/run.bat
+++ b/run.bat
@@ -1,4 +1,4 @@
@echo off
.\python\python.exe .\server.py
echo Press any key to quit...
-PAUSE > nul \ No newline at end of file
+PAUSE > nul
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'
diff --git a/yt_basic_template.html b/yt_basic_template.html
index 6226a68..d2290d8 100644
--- a/yt_basic_template.html
+++ b/yt_basic_template.html
@@ -17,4 +17,4 @@ $header
$page
</main>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/yt_channel_about_template.html b/yt_channel_about_template.html
index 5453f6a..221b838 100644
--- a/yt_channel_about_template.html
+++ b/yt_channel_about_template.html
@@ -75,4 +75,4 @@ $links
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/yt_channel_items_template.html b/yt_channel_items_template.html
index dbdca56..1a8551d 100644
--- a/yt_channel_items_template.html
+++ b/yt_channel_items_template.html
@@ -87,4 +87,4 @@ $page_buttons
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/yt_comments_template.html b/yt_comments_template.html
index 61a5c63..cdb11d0 100644
--- a/yt_comments_template.html
+++ b/yt_comments_template.html
@@ -37,4 +37,4 @@ $comments_area
</div>
</main>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/yt_local_playlist_template.html b/yt_local_playlist_template.html
index 23be7cc..55287fc 100644
--- a/yt_local_playlist_template.html
+++ b/yt_local_playlist_template.html
@@ -81,4 +81,4 @@ $page_buttons
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/yt_playlist_template.html b/yt_playlist_template.html
index 1a32ead..0e33261 100644
--- a/yt_playlist_template.html
+++ b/yt_playlist_template.html
@@ -112,4 +112,4 @@ $page_buttons
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/yt_search_results_template.html b/yt_search_results_template.html
index c2e99f7..31509a2 100644
--- a/yt_search_results_template.html
+++ b/yt_search_results_template.html
@@ -76,4 +76,4 @@ $page_buttons
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/yt_watch_template.html b/yt_watch_template.html
index 2748624..59b588a 100644
--- a/yt_watch_template.html
+++ b/yt_watch_template.html
@@ -201,4 +201,4 @@ $related
</body>
-</html> \ No newline at end of file
+</html>