Skip to content

Commit 2bcfd62

Browse files
author
Jay
committed
update logging
1 parent f90b101 commit 2bcfd62

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import urllib
44
import parsers
55
import logging
6+
import sys
67
import requests
78
import os
89

@@ -12,7 +13,7 @@ def _record(website, status, recipe=''):
1213
if not website:
1314
return
1415

15-
print(f"Fetched recipe: {website} {status} {recipe}")
16+
print(f"Fetched recipe: {website} {status} {recipe}", file=sys.stderr)
1617

1718
def _query(q):
1819
return []

templates/supported.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ <h1>Supported Websites</h1>
88
<li>{{site}}</li>
99
{% endfor %}
1010
</ul>
11-
{% endblock %}
11+
{% endblock %}

0 commit comments

Comments
 (0)