Skip to content

Commit e0584c3

Browse files
committed
Removed rstrip
1 parent 2b6dc95 commit e0584c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bugout/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
__email__ = "engineering@bugout.dev"
99
__license__ = "MIT"
10-
__version__ = "0.1.14"
10+
__version__ = "0.1.15"
1111

1212
__all__ = (
1313
"__author__",

bugout/resource.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(
2121
self.timeout = timeout
2222

2323
def _call(self, method: Method, path: str, **kwargs):
24-
url = f"{self.url.rstrip('/')}/{path.rstrip('/')}"
24+
url = f"{self.url.rstrip('/')}/{path}"
2525
result = make_request(method=method, url=url, timeout=self.timeout, **kwargs)
2626
return result
2727

@@ -31,7 +31,7 @@ def create_resource(
3131
application_id: Union[str, uuid.UUID],
3232
resource_data: Dict[str, Any],
3333
) -> BugoutResource:
34-
resources_path = "resources"
34+
resources_path = "resources/"
3535
headers = {
3636
"Authorization": f"Bearer {token}",
3737
}
@@ -61,7 +61,7 @@ def list_resources(
6161
token: Union[str, uuid.UUID],
6262
params: Optional[Dict[str, Any]] = None,
6363
) -> BugoutResources:
64-
resources_path = "resources"
64+
resources_path = "resources/"
6565
headers = {
6666
"Authorization": f"Bearer {token}",
6767
}

0 commit comments

Comments
 (0)