From a7671f39f3c58feaf43c0995948742bc072d2387 Mon Sep 17 00:00:00 2001 From: agatha Date: Fri, 10 Nov 2023 23:43:25 -0500 Subject: [PATCH] Token is optional --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 4ec1aee..08465e1 100644 --- a/main.py +++ b/main.py @@ -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):