commit f9bf53f35abf88aa6dd25c7413e73db105464e17
Author: José Matos <[email protected]>
Date: Mon Jun 3 07:31:05 2019 +0100
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.
---
lib/scripts/lyxpreview2bitmap.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py
index 236010f..eee000d 100755
--- a/lib/scripts/lyxpreview2bitmap.py
+++ b/lib/scripts/lyxpreview2bitmap.py
@@ -378,8 +378,8 @@ def main(argv):
if len(dir) != 0:
os.chdir(dir)
- if lyxpreview_tools.debug:
- f_out = open('debug.txt', 'a')
+ if lyxpreview_tools.verbose:
+ f_out = open('verbose.txt', 'a')
sys.stdout = f_out
sys.stderr = f_out