Make verbose switch consistent.

Someday we should probably unify these two switches. Because the debug switch is verbose
and the verbose switch is mostly used for debuging.
This commit is contained in:
José Matos 2019-06-03 07:31:05 +01:00
parent 64396717db
commit f9bf53f35a

View File

@ -378,8 +378,8 @@ def main(argv):
if len(dir) != 0: if len(dir) != 0:
os.chdir(dir) os.chdir(dir)
if lyxpreview_tools.debug: if lyxpreview_tools.verbose:
f_out = open('debug.txt', 'a') f_out = open('verbose.txt', 'a')
sys.stdout = f_out sys.stdout = f_out
sys.stderr = f_out sys.stderr = f_out