Add newline to end of files
This commit is contained in:
parent
c80a6b5eed
commit
36e0409db4
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -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).
|
||||
|
2
run.bat
2
run.bat
@ -1,4 +1,4 @@
|
||||
@echo off
|
||||
.\python\python.exe .\server.py
|
||||
echo Press any key to quit...
|
||||
PAUSE > nul
|
||||
PAUSE > nul
|
||||
|
@ -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')
|
||||
|
@ -126,4 +126,4 @@
|
||||
.more-comments{
|
||||
justify-self:center;
|
||||
margin-top:10px;
|
||||
}
|
||||
}
|
||||
|
@ -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')
|
||||
|
@ -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'
|
||||
|
@ -8,4 +8,4 @@
|
||||
<Param name="query" value="{searchTerms}"/>
|
||||
</Url>
|
||||
<SearchForm>http://localhost:$port_number/youtube.com/search</SearchForm>
|
||||
</SearchPlugin>
|
||||
</SearchPlugin>
|
||||
|
@ -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')
|
||||
|
@ -213,4 +213,4 @@ textarea{
|
||||
style = style,
|
||||
header = common.get_header(),
|
||||
page = page,
|
||||
).encode('utf-8')
|
||||
).encode('utf-8')
|
||||
|
@ -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')
|
||||
|
@ -369,4 +369,4 @@ address{
|
||||
background-color: #d0d0d0;
|
||||
padding: 2px;
|
||||
justify-self: start;
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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')
|
||||
|
@ -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'
|
||||
|
@ -17,4 +17,4 @@ $header
|
||||
$page
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -75,4 +75,4 @@ $links
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -87,4 +87,4 @@ $page_buttons
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -37,4 +37,4 @@ $comments_area
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -81,4 +81,4 @@ $page_buttons
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -112,4 +112,4 @@ $page_buttons
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -76,4 +76,4 @@ $page_buttons
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -201,4 +201,4 @@ $related
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user