mirror of
https://git.juggalol.com/agatha/gitmon.git
synced 2024-11-22 15:36:43 +00:00
Token is optional
This commit is contained in:
parent
7f7dd37bd3
commit
a7671f39f3
3
main.py
3
main.py
@ -4,7 +4,10 @@ from loguru import logger
|
|||||||
from gitmon.api import GitHubApi
|
from gitmon.api import GitHubApi
|
||||||
from gitmon.logger import setup_logger
|
from gitmon.logger import setup_logger
|
||||||
|
|
||||||
|
try:
|
||||||
from config import token
|
from config import token
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
token = None
|
||||||
|
|
||||||
|
|
||||||
def log_event(event):
|
def log_event(event):
|
||||||
|
Loading…
Reference in New Issue
Block a user