Token is optional

This commit is contained in:
agatha 2023-11-10 23:43:25 -05:00
parent 7f7dd37bd3
commit a7671f39f3

View File

@ -4,7 +4,10 @@ from loguru import logger
from gitmon.api import GitHubApi
from gitmon.logger import setup_logger
from config import token
try:
from config import token
except ModuleNotFoundError:
token = None
def log_event(event):