diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-06-23 11:14:58 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-06-23 11:14:58 +1000 |
| commit | 38390cd7504f2846eab2484d3ab2ee6883ae9c4d (patch) | |
| tree | 95ac1f965a53e0aee4112a85713e00c54effa46c | |
| parent | d3b618216e77358500203ac0a823fc5da8badd01 (diff) | |
General: Cleanup
| -rwxr-xr-x | wal | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |
