Token is optional

This commit is contained in:
agatha 2023-11-10 23:43:25 -05:00
parent 7f7dd37bd3
commit a7671f39f3
1 changed files with 4 additions and 1 deletions

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):