mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
feat/OPS-36: fix line length requirement (again)
This commit is contained in:
parent
dadacb76f9
commit
f60120245e
1 changed files with 4 additions and 2 deletions
|
|
@ -2,7 +2,8 @@ from __future__ import annotations
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from flask import Flask, redirect, render_template, request, url_for, send_from_directory
|
from flask import (Flask, redirect, render_template, request, url_for,
|
||||||
|
send_from_directory)
|
||||||
|
|
||||||
from senju.haiku import Haiku
|
from senju.haiku import Haiku
|
||||||
from senju.store_manager import StoreManager
|
from senju.store_manager import StoreManager
|
||||||
|
|
@ -67,4 +68,5 @@ def generate_haiku():
|
||||||
@app.route('/favicon.ico')
|
@app.route('/favicon.ico')
|
||||||
def favicon():
|
def favicon():
|
||||||
return send_from_directory(os.path.join(app.root_path, 'static/img'),
|
return send_from_directory(os.path.join(app.root_path, 'static/img'),
|
||||||
'favicon.ico', mimetype='image/vnd.microsoft.icon')
|
'favicon.ico',
|
||||||
|
mimetype='image/vnd.microsoft.icon')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue