diff --git a/search.py b/search.py index 96ff50d..952a186 100644 --- a/search.py +++ b/search.py @@ -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()