mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-20 05:17:56 +00:00
Merge branch 'master' into unstable
This commit is contained in:
commit
57f5e7a7d9
@ -36,8 +36,9 @@ class UploadHandler:
|
|||||||
try:
|
try:
|
||||||
for root, _, files in os.walk(UploadHandler.image_directory()):
|
for root, _, files in os.walk(UploadHandler.image_directory()):
|
||||||
for filename in files:
|
for filename in files:
|
||||||
image_file = os.path.join(root, filename)
|
if not filename.startswith("."):
|
||||||
uploaded_files.append(image_file)
|
image_file = os.path.join(root, filename)
|
||||||
|
uploaded_files.append(image_file)
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
iourc_path = os.path.join(os.path.expanduser("~/"), ".iourc")
|
iourc_path = os.path.join(os.path.expanduser("~/"), ".iourc")
|
||||||
|
Loading…
Reference in New Issue
Block a user