summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-23 11:14:58 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-23 11:14:58 +1000
commit38390cd7504f2846eab2484d3ab2ee6883ae9c4d (patch)
tree95ac1f965a53e0aee4112a85713e00c54effa46c
parentd3b618216e77358500203ac0a823fc5da8badd01 (diff)
General: Cleanup
-rwxr-xr-xwal8
1 files changed, 4 insertions, 4 deletions
diff --git a/wal b/wal
index ea76f4b..d7dfa7b 100755
--- a/wal
+++ b/wal
@@ -82,8 +82,8 @@ def process_args(args):
"""Process args"""
# If no args were passed.
if not len(sys.argv) > 1:
- print("error: wal needs to be given arguments to run.")
- print(" Refer to \"wal -h\" for more info.")
+ print("error: wal needs to be given arguments to run.\n"
+ " Refer to \"wal -h\" for more info.")
exit(1)
# -q
@@ -135,8 +135,8 @@ def get_image(img):
"""Validate image input."""
# Check if the user has Imagemagick installed.
if not shutil.which("convert"):
- print("error: imagemagick not found, exiting...")
- print("error: wal requires imagemagick to function.")
+ print("error: imagemagick not found, exiting...\n"
+ "error: wal requires imagemagick to function.")
exit(1)
image = pathlib.Path(img)