diff --git a/src/allmydata/test/check_memory.py b/src/allmydata/test/check_memory.py index 5dfc7c94f..908e21ecd 100644 --- a/src/allmydata/test/check_memory.py +++ b/src/allmydata/test/check_memory.py @@ -289,6 +289,9 @@ this file are ignored. def _read(res): # read the node's URL self.webish_url = open(url_file, "r").read().strip() + if self.webish_url[-1] == "/": + # trim trailing slash, since the rest of the code wants it gone + self.webish_url = self.webish_url[:-1] f = open(furl_file, "r") furl = f.read() return furl.strip()