Add newline to end of files

This commit is contained in:
James Taylor 2019-01-06 18:20:29 -08:00
parent c80a6b5eed
commit 36e0409db4
22 changed files with 22 additions and 22 deletions

2
.gitattributes vendored
View File

@ -29,4 +29,4 @@
# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).
# (among others).

View File

@ -1,4 +1,4 @@
@echo off
.\python\python.exe .\server.py
echo Press any key to quit...
PAUSE > nul
PAUSE > nul

View File

@ -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')
return result.encode('utf-8')

View File

@ -126,4 +126,4 @@
.more-comments{
justify-self:center;
margin-top:10px;
}
}

View File

@ -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')
).encode('utf-8')

View File

@ -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'
return b'400 Bad Request'

View File

@ -8,4 +8,4 @@
<Param name="query" value="{searchTerms}"/>
</Url>
<SearchForm>http://localhost:$port_number/youtube.com/search</SearchForm>
</SearchPlugin>
</SearchPlugin>

View File

@ -120,4 +120,4 @@ def get_playlist_page(env, start_response):
page_buttons = page_buttons,
stats = stats,
**html_ready
).encode('utf-8')
).encode('utf-8')

View File

@ -213,4 +213,4 @@ textarea{
style = style,
header = common.get_header(),
page = page,
).encode('utf-8')
).encode('utf-8')

View File

@ -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')
return result.encode('utf-8')

View File

@ -369,4 +369,4 @@ address{
background-color: #d0d0d0;
padding: 2px;
justify-self: start;
}
}

View File

@ -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)
return self.pattern.sub(convert, self.template)

View File

@ -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')
return page.encode('utf-8')

View File

@ -102,4 +102,4 @@ def youtube(env, start_response):
else:
start_response('501 Not Implemented', ())
return b'501 Not Implemented'
return b'501 Not Implemented'

View File

@ -17,4 +17,4 @@ $header
$page
</main>
</body>
</html>
</html>

View File

@ -75,4 +75,4 @@ $links
</body>
</html>
</html>

View File

@ -87,4 +87,4 @@ $page_buttons
</body>
</html>
</html>

View File

@ -37,4 +37,4 @@ $comments_area
</div>
</main>
</body>
</html>
</html>

View File

@ -81,4 +81,4 @@ $page_buttons
</body>
</html>
</html>

View File

@ -112,4 +112,4 @@ $page_buttons
</body>
</html>
</html>

View File

@ -76,4 +76,4 @@ $page_buttons
</body>
</html>
</html>

View File

@ -201,4 +201,4 @@ $related
</body>
</html>
</html>