Linting
This commit is contained in:
+4
-5
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import hashlib
|
import hashlib
|
||||||
import json
|
import json
|
||||||
import os
|
|
||||||
import shutil
|
import shutil
|
||||||
import time
|
import time
|
||||||
from datetime import datetime, timezone
|
from datetime import datetime, timezone
|
||||||
@@ -440,10 +439,10 @@ def create_app() -> Flask:
|
|||||||
|
|
||||||
return send_file(output_file, as_attachment=True)
|
return send_file(output_file, as_attachment=True)
|
||||||
|
|
||||||
@app.route("/ads.txt")
|
@app.route("/ads.txt")
|
||||||
def google_ads() -> str:
|
def google_ads() -> str:
|
||||||
"""Google Ads required file"""
|
"""Google Ads required file"""
|
||||||
return GOOGLE_ADS_TXT
|
return GOOGLE_ADS_TXT
|
||||||
|
|
||||||
return app
|
return app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user