diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2107b203..43be08ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: - name: Update Version File uses: ArabCoders/write-version-to-file@master with: - filename: "/app/version.py" + filename: "/app/library/version.py" placeholder: "dev-master" - name: Set up QEMU diff --git a/app/library/HttpAPI.py b/app/library/HttpAPI.py index d76d6a19..62c4f4ff 100644 --- a/app/library/HttpAPI.py +++ b/app/library/HttpAPI.py @@ -109,7 +109,7 @@ class HttpAPI(common): contentType = self.extToMime.get(os.path.splitext(file)[1], MIME.from_file(file)) self.staticHolder[urlPath] = {'content': content, 'content_type': contentType} - LOG.info(f'Preloading: [{urlPath}].') + LOG.debug(f'Preloading: [{urlPath}].') app.router.add_get(urlPath, self.staticFile) if urlPath.endswith('/index.html') and urlPath != '/index.html': @@ -186,7 +186,7 @@ class HttpAPI(common): @route('GET', 'ping') async def ping(self, _) -> Response: - self.queue.test() + await self.queue.test() return web.Response(text='pong') @route('POST', 'add')