From 3f0062d9fc7ece3acffcdd650ba4d6918c556f87 Mon Sep 17 00:00:00 2001 From: Furkan Date: Sun, 13 Oct 2024 12:42:28 +0300 Subject: [PATCH] refactor: fix variable name in DAQJobServeHTTP do_GET method --- src/daq/serve_http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daq/serve_http.py b/src/daq/serve_http.py index e7985a9..a53d3b7 100644 --- a/src/daq/serve_http.py +++ b/src/daq/serve_http.py @@ -32,7 +32,7 @@ def __init__(self, *args, **kwargs): def do_GET(self) -> None: self.path = self.path.replace( - "$TODAY", datetime.now().strftime("%Y-%m-%d") + "TODAY", datetime.now().strftime("%Y-%m-%d") ) return super().do_GET()