From: albertogomcas Date: Fri, 22 Jan 2010 07:10:10 +0000 (+0000) Subject: Fix: genlist can now import files without extension X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e99ae677c8386889fd15fdebc69add413d0ce28;p=hooke.git Fix: genlist can now import files without extension --- diff --git a/hooke_cli.py b/hooke_cli.py index d3c9693..783b899 100755 --- a/hooke_cli.py +++ b/hooke_cli.py @@ -295,9 +295,9 @@ Syntax: genlist [input files] else: SLASH="/" if list_path[-1] == SLASH: - list_path=list_path+'*.*' + list_path=list_path+'*' else: - list_path=list_path+SLASH+'*.*' + list_path=list_path+SLASH+'*' #expanding correctly the input list with the glob module :) list_files=glob.glob(list_path)