mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-07-23 18:40:05 +00:00
Fix double logger.
This commit is contained in:
parent
32b876a08c
commit
640fb87e91
@ -165,7 +165,7 @@ class M3U8_Segments:
|
||||
|
||||
# Update segments for estimator
|
||||
self.class_ts_estimator.total_segments = len(self.segments)
|
||||
logging.info(f"fSegmnets to donwload: [{len(self.segments)}]")
|
||||
logging.info(f"Segmnets to donwload: [{len(self.segments)}]")
|
||||
|
||||
def get_info(self) -> None:
|
||||
"""
|
||||
|
@ -53,7 +53,3 @@ class Logger:
|
||||
formatter = logging.Formatter('[%(filename)s:%(lineno)s - %(funcName)20s() ] %(asctime)s - %(levelname)s - %(message)s')
|
||||
file_handler.setFormatter(formatter)
|
||||
logging.getLogger('').addHandler(file_handler)
|
||||
|
||||
|
||||
# Output
|
||||
logger = Logger()
|
Loading…
x
Reference in New Issue
Block a user