Skip to content

Commit d7eabe1

Browse files
committed
Revert "Log Plausible response status code"
This reverts commit 361c536
1 parent d04b326 commit d7eabe1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

visitors.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import csv
22
import io
3-
import logging
43
import urllib.parse
54
import zipfile
65

@@ -12,7 +11,6 @@ def get_number_of_visitors(language: str, http: PoolManager) -> int:
1211
{'filters': f'[["contains","event:page",["/{language}/"]]]', 'period': 'all'}
1312
)
1413
r = http.request('GET', f'https://plausible.io/docs.python.org/export?{params}')
15-
logging.info(f'Plausible export responded with {r.status=}')
1614
with (
1715
zipfile.ZipFile(io.BytesIO(r.data), 'r') as z,
1816
z.open('visitors.csv') as csv_file,

0 commit comments

Comments
 (0)