diff --git a/gns3server/modules/qemu/__init__.py b/gns3server/modules/qemu/__init__.py index b9884e8e3..cc7cfdbb7 100644 --- a/gns3server/modules/qemu/__init__.py +++ b/gns3server/modules/qemu/__init__.py @@ -629,7 +629,8 @@ def qemu_list(self, request): if "PROGRAMFILES" in os.environ and os.path.exists(os.environ["PROGRAMFILES"]): paths.append(os.path.join(os.environ["PROGRAMFILES"], "qemu")) elif sys.platform.startswith("darwin"): - paths.append(os.path.join(os.getcwd(), "../Resources/Qemu/bin/")) + # add a specific location on Mac OS X regardless of what's in $PATH + paths.append("/usr/local/bin") for path in paths: try: for f in os.listdir(path): diff --git a/gns3server/templates/upload.html b/gns3server/templates/upload.html index f34e49416..ceec7f68c 100644 --- a/gns3server/templates/upload.html +++ b/gns3server/templates/upload.html @@ -13,10 +13,8 @@ {%if items%}
{{path}}/{{item}}
{%end%} {%end%} -