mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-11-29 19:58:36 +00:00
update
This commit is contained in:
1 parent
6aa878c6de
commit
03f4da2df4
3 files changed
+76
-113
No files matched your search
@@ -4,7 +4,7 @@ Librairies générales pour pyDatatoMergin.py
|
||||
#############################################################################################
|
||||
"""
|
||||
|
||||
import logging, sys, re, hashlib # noqa: I001
|
||||
import logging, sys, re, hashlib, os # noqa: I001
|
||||
|
||||
logger = logging.getLogger("Logger")
|
||||
|
||||
@@ -90,7 +90,8 @@ class Colors:
|
||||
UNDERLINE = "\033[4m"
|
||||
|
||||
|
||||
INTERACTIF = sys.stdout.isatty() and sys.stderr.isatty()
|
||||
# INTERACTIF = sys.stdout.isatty() and sys.stderr.isatty()
|
||||
INTERACTIF = sys.stdout.isatty() and sys.stderr.isatty() and os.environ.get("TERM", "").lower() != "dumb"
|
||||
|
||||
|
||||
#################################################################################################
|
||||
|
||||
Reference in new issue
Block a user