Update setup.py

Don't use `+ '/' +` but `os.path.join` instead
This commit is contained in:
jvoisin 2015-05-31 18:44:12 +02:00
parent 61a4b9c866
commit 48ba0c14ed

View file

@ -29,8 +29,8 @@ except ImportError:
def file_list(path): def file_list(path):
files = [] files = []
for filename in os.listdir(path): for filename in os.listdir(path):
if os.path.isfile(path+'/'+filename): if os.path.isfile(os.path.join(path, filename)):
files.append(path+'/'+filename) files.append(os.path.join(path, filename))
return files return files
system = platform.system() system = platform.system()