feat: support watching symlinks in watchdogg.py

+ remove code for auto-adding ~/Home to root_dirs during populate
This commit is contained in:
geoffrey45
2023-01-24 16:30:17 +03:00
parent 29e61b31c3
commit df6609e7f4
6 changed files with 131 additions and 79 deletions
+2 -3
View File
@@ -10,9 +10,9 @@ class CustomFormatter(logging.Formatter):
Custom log formatter
"""
grey = "\x1b[38;20m"
grey = "\033[92m"
yellow = "\x1b[33;20m"
red = "\x1b[31;20m"
red = "\033[41m"
bold_red = "\x1b[31;1m"
reset = "\x1b[0m"
# format = (
@@ -45,5 +45,4 @@ handler.setLevel(logging.DEBUG)
handler.setFormatter(CustomFormatter())
log.addHandler(handler)
# copied from: https://stackoverflow.com/a/56944256: