Explicitly use html.parser to supress warnings from bs4

This commit is contained in:
Juhani Krekelä 2018-06-09 17:31:52 +03:00
parent 77f70da475
commit b72544e480
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def login_forward(raw_path):
<input type="submit" value="Login"/> <input type="submit" value="Login"/>
</div> </div>
</form> </form>
''') ''', 'html.parser')
# TODO: Internationalization # TODO: Internationalization
return page_skeleton(page_title = 'Login to ' + config.site_name, contents = contents, soup = soup) return page_skeleton(page_title = 'Login to ' + config.site_name, contents = contents, soup = soup)