mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 08:55:12 -04:00
commit
c25e8f99dc
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -29,8 +29,8 @@ except ImportError:
|
|||
def file_list(path):
|
||||
files = []
|
||||
for filename in os.listdir(path):
|
||||
if os.path.isfile(path+'/'+filename):
|
||||
files.append(path+'/'+filename)
|
||||
if os.path.isfile(os.path.join(path, filename)):
|
||||
files.append(os.path.join(path, filename))
|
||||
return files
|
||||
|
||||
system = platform.system()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue