mirror of
https://git.juggalol.com/agatha/gitmon.git
synced 2024-11-26 01:16:40 +00:00
Token is optional
This commit is contained in:
parent
7f7dd37bd3
commit
a7671f39f3
5
main.py
5
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
|
||||||
|
|
||||||
from config import token
|
try:
|
||||||
|
from config import token
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
token = None
|
||||||
|
|
||||||
|
|
||||||
def log_event(event):
|
def log_event(event):
|
||||||
|
Loading…
Reference in New Issue
Block a user