Private GIT

Skip to content
Snippets Groups Projects
Commit a57bbd09 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Disable logging with print in hachoir_core so pythonw.exe isnt failing.

Fixes SiCKRAGETV/sickrage-issues/issues/2547
parent b56c399f
No related merge requests found
...@@ -320,6 +320,8 @@ class Quality: ...@@ -320,6 +320,8 @@ class Quality:
from hachoir_parser import createParser from hachoir_parser import createParser
from hachoir_metadata import extractMetadata from hachoir_metadata import extractMetadata
from hachoir_core.log import log
log.use_print = False
try: try:
parser = createParser(filename) parser = createParser(filename)
......
...@@ -28,7 +28,8 @@ from sickrage.helper.exceptions import ShowDirectoryNotFoundException ...@@ -28,7 +28,8 @@ from sickrage.helper.exceptions import ShowDirectoryNotFoundException
from hachoir_parser import createParser from hachoir_parser import createParser
from hachoir_metadata import extractMetadata from hachoir_metadata import extractMetadata
from hachoir_core.log import log
log.use_print = False
class ImageCache: class ImageCache:
def __init__(self): def __init__(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment