Skip to content

Commit d757f35

Browse files
committed
Update style
1 parent 7e5deaa commit d757f35

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,10 @@ def wrap(string):
225225
return wrap
226226

227227
def argparse_filestring_type(string) :
228-
if exists(string) : return string
229-
else : raise argparse.ArgumentTypeError("{0} does not exist in the filesystem.".format(string))
228+
if exists(string) :
229+
return string
230+
else :
231+
raise argparse.ArgumentTypeError("{0}"" does not exist in the filesystem.".format(string))
230232

231233
def columnate(strings, seperator=", ", chars=80):
232234
col_width = max(len(s) for s in strings)

0 commit comments

Comments
 (0)