Compare commits
No commits in common. "9387706f6144b36a5cf9f89a411eed7da43ebbe7" and "47e2bda1812e41aa4cf93906d6a43db2927accc3" have entirely different histories.
9387706f61
...
47e2bda181
@ -32,10 +32,6 @@ class GitHubApi:
|
|||||||
logging.warning(f'Failed to execute GET request: {str(e)}')
|
logging.warning(f'Failed to execute GET request: {str(e)}')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# 304 Not Modified
|
|
||||||
if response.status_code == '304':
|
|
||||||
return None
|
|
||||||
|
|
||||||
self.__parse_headers(response.headers)
|
self.__parse_headers(response.headers)
|
||||||
return response.json()
|
return response.json()
|
||||||
|
|
||||||
|
1
main.py
1
main.py
@ -1,5 +1,4 @@
|
|||||||
"""GitMon"""
|
"""GitMon"""
|
||||||
from loguru import logger
|
|
||||||
from gitmon.api import GitHubApi
|
from gitmon.api import GitHubApi
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
requests
|
requests
|
||||||
loguru
|
|
Loading…
Reference in New Issue
Block a user