Don't print stderr when fzf exits with an error
This commit is contained in:
parent
f6aa48d359
commit
34e388db18
@ -98,7 +98,6 @@ if __name__ == "__main__":
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
exit()
|
exit()
|
||||||
except fzf.FZFError as e:
|
except fzf.FZFError as e:
|
||||||
print(e)
|
|
||||||
exit(e.exit_code)
|
exit(e.exit_code)
|
||||||
|
|
||||||
if selected_file != "":
|
if selected_file != "":
|
||||||
|
2
setup.py
2
setup.py
@ -15,7 +15,7 @@ with open("README", "r") as fh:
|
|||||||
# ========== Package Setup ==========
|
# ========== Package Setup ==========
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="file_scripts",
|
name="file_scripts",
|
||||||
version="1.0",
|
version="1.0.1",
|
||||||
author="Eric Torres",
|
author="Eric Torres",
|
||||||
author_email="erictorres4@protonmail.com",
|
author_email="erictorres4@protonmail.com",
|
||||||
description="File-related helper scripts",
|
description="File-related helper scripts",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user