Commit 6955ca50 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add localfile type

parent 95201bb0
......@@ -28,4 +28,4 @@ def localfile(file):
if os.path.isfile(file):
return os.path.abspath(file)
else:
raise argparse.ArgumentTypeError("Local file " + file + " does not exists! Please provide a valid file path")
\ No newline at end of file
raise argparse.ArgumentTypeError("Local file '" + file + "' does not exists! Please provide a valid file path!")
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment