From 32b8538b306a7247621164489958611bc4d5514e Mon Sep 17 00:00:00 2001 From: Sam Lavigne Date: Fri, 27 May 2022 19:10:57 -0400 Subject: [PATCH] fix error message when there are no search results --- videogrep/videogrep.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/videogrep/videogrep.py b/videogrep/videogrep.py index 6c15d6a..9a76bb1 100644 --- a/videogrep/videogrep.py +++ b/videogrep/videogrep.py @@ -413,6 +413,8 @@ def videogrep( segments = search(files, query, search_type) if len(segments) == 0: + if isinstance(query, list): + query = " ".join(query) print("No results found for", query) return False