1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-24 15:58:08 +00:00

Do not hide non-executable file in the UploadHandler.

This commit is contained in:
Jeremy 2015-03-16 19:16:15 -06:00
parent 93a5f4be79
commit 2de817214f

View File

@ -37,7 +37,6 @@ class UploadHandler:
for root, _, files in os.walk(UploadHandler.image_directory()):
for filename in files:
image_file = os.path.join(root, filename)
if os.access(image_file, os.X_OK):
uploaded_files.append(image_file)
except OSError:
pass