fix verbose output when redirected to file, #661

This commit is contained in:
Rhet Turnbull
2022-03-27 09:52:23 -07:00
parent 93de53da51
commit 382d097285
6 changed files with 27 additions and 15 deletions

View File

@@ -80,8 +80,7 @@ def verbose_print(
return noop
global _console
width = 10_000 if OSXPHOTOS_IS_TESTING else None
_console.console = Console(theme=theme, width=width)
_console.console = Console(theme=theme, width=10_000)
# closure to capture timestamp
def verbose_(*args):