From 360a819e9122e9365c96fb01b1d1204dd6bdace4 Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 6 Apr 2021 22:12:34 +0930 Subject: [PATCH] Set PyQt5 version to 5.15.2 on Windows --- gns3server/controller/compute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index 117a71e3..2ea049a5 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -312,7 +312,7 @@ class Compute: url = self._getUrl("/projects/{}/files/{}".format(project.id, path)) response = await self._session().request("GET", url, auth=self._auth) if response.status == 404: - raise aiohttp.web.HTTPNotFound(text="{} not found on compute".format(path)) + raise aiohttp.web.HTTPNotFound(text="File '{}' not found on compute".format(path)) return response async def download_image(self, image_type, image): @@ -327,7 +327,7 @@ class Compute: url = self._getUrl("/{}/images/{}".format(image_type, image)) response = await self._session().request("GET", url, auth=self._auth) if response.status == 404: - raise aiohttp.web.HTTPNotFound(text="{} not found on compute".format(image)) + raise aiohttp.web.HTTPNotFound(text="Image '{}' not found on compute".format(image)) return response async def http_query(self, method, path, data=None, dont_connect=False, **kwargs):