diff --git a/Mylar.py b/Mylar.py index 9fe4af94..b03cb915 100644 --- a/Mylar.py +++ b/Mylar.py @@ -32,6 +32,9 @@ try: except ImportError: import lib.argparse as argparse +if ( sys.platform == 'win32' and sys.executable.split( '\\' )[-1] == 'pythonw.exe'): + sys.stdout = open(os.devnull, "w") + sys.stderr = open(os.devnull, "w") def handler_sigterm(signum, frame): mylar.SIGNAL = 'shutdown' diff --git a/data/interfaces/default/comicdetails.html b/data/interfaces/default/comicdetails.html index a450dd28..be742c80 100644 --- a/data/interfaces/default/comicdetails.html +++ b/data/interfaces/default/comicdetails.html @@ -460,7 +460,7 @@ %endif %if mylar.ENABLE_META: - + %endif %endif @@ -603,7 +603,7 @@ %endif %if mylar.ENABLE_META: - + %endif %endif