Don't print stderr when fzf exits with an error

This commit is contained in:
Eric Torres 2022-01-10 13:31:28 -08:00
parent f6aa48d359
commit 34e388db18
2 changed files with 1 additions and 2 deletions

View File

@ -98,7 +98,6 @@ if __name__ == "__main__":
except KeyboardInterrupt:
exit()
except fzf.FZFError as e:
print(e)
exit(e.exit_code)
if selected_file != "":

View File

@ -15,7 +15,7 @@ with open("README", "r") as fh:
# ========== Package Setup ==========
setuptools.setup(
name="file_scripts",
version="1.0",
version="1.0.1",
author="Eric Torres",
author_email="erictorres4@protonmail.com",
description="File-related helper scripts",