Add vlogging so we can get debug from imported modules.

This commit is contained in:
voussoir 2021-11-16 13:54:42 -08:00
parent c8e5a53bcb
commit 5fb31208c9
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -16,8 +16,11 @@ from voussoirkit import pathclass
from voussoirkit import pipeable
from voussoirkit import safeprint
from voussoirkit import spinal
from voussoirkit import vlogging
from voussoirkit import winglob
log = vlogging.get_logger(__name__, 'search')
# Thanks georg
# http://stackoverflow.com/a/13443424
STDIN_MODE = os.fstat(sys.stdin.fileno()).st_mode
@ -259,6 +262,7 @@ def search_argparse(args):
print('You did not supply any search terms.')
return 1
@vlogging.main_decorator
def main(argv):
parser = argparse.ArgumentParser()