diff --git a/src/Config.py b/src/Config.py index e0ff71a1..bcd9d3c7 100644 --- a/src/Config.py +++ b/src/Config.py @@ -13,7 +13,7 @@ class Config(object): def __init__(self, argv): self.version = "0.7.0" - self.rev = 4101 + self.rev = 4102 self.argv = argv self.action = None self.pending_changes = {} diff --git a/src/File/FileRequest.py b/src/File/FileRequest.py index 86042040..0846a714 100644 --- a/src/File/FileRequest.py +++ b/src/File/FileRequest.py @@ -278,7 +278,7 @@ class FileRequest(object): return False except Exception as err: self.log.error("GetFile exception: %s" % Debug.formatException(err)) - self.response({"error": "File read Exception"}) + self.response({"error": "File read exception"}) return False def actionGetFile(self, params): diff --git a/src/Test/TestFileRequest.py b/src/Test/TestFileRequest.py index f2da250b..ef28ee96 100644 --- a/src/Test/TestFileRequest.py +++ b/src/Test/TestFileRequest.py @@ -35,7 +35,7 @@ class TestFileRequest: # Stream from parent dir response = connection.request("getFile", {"site": site.address, "inner_path": "../users.json", "location": 0}) - assert "File read error" in response["error"] + assert "File read exception" in response["error"] # Invalid site response = connection.request("getFile", {"site": "", "inner_path": "users.json", "location": 0}) @@ -77,7 +77,7 @@ class TestFileRequest: # Stream from parent dir buff = io.BytesIO() response = connection.request("streamFile", {"site": site.address, "inner_path": "../users.json", "location": 0}, buff) - assert "File read error" in response["error"] + assert "File read exception" in response["error"] connection.close() client.stop()