Skip to content

Commit 76c90cd

Browse files
committed
BugFix
- Decreased log size
1 parent c8a1cce commit 76c90cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def cur_monitor_specs() -> Dict[AnyStr, Dict[AnyStr, SupportsInt]]:
9898

9999

100100
async def load_config() -> Tuple[ScreenSettings, ScreenSettings]:
101-
logging.info(f"Loading config from {PATH_TO_PROGRAM / 'config.json'}")
101+
logging.debug(f"Loading config from {PATH_TO_PROGRAM / 'config.json'}")
102102
with open(PATH_TO_PROGRAM / "config.json", "r") as config:
103103
stream = config.read()
104104

@@ -174,7 +174,7 @@ async def srr_loop(time_step: int) -> None:
174174
# I think opening config file every second is not a good idea,
175175
# so then I made it in 10 time longer to wait.
176176
if counter == 10:
177-
logging.info(f"Counter now = {counter}, reloading config")
177+
logging.debug(f"Counter now = {counter}, reloading config")
178178
current_config = await load_config()
179179
if prev_config_state != current_config:
180180
ctypes.windll.user32.MessageBoxW(

0 commit comments

Comments
 (0)