]> git.lyx.org Git - features.git/commitdiff
Make verbose switch consistent.
authorJosé Matos <jamatos@lyx.org>
Mon, 3 Jun 2019 06:31:05 +0000 (07:31 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:32 +0000 (15:48 +0200)
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

index 236010fbc3b0fbbeb5cad84ce58f16722bac1127..eee000deeae33840f085d6554a0a82305b811850 100755 (executable)
@@ -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