From 296618a358f4f536f7675ce1be68453606d90a4e Mon Sep 17 00:00:00 2001 From: Aaron Edwards Date: Mon, 11 Nov 2024 19:02:57 -0800 Subject: [PATCH] Fix for picklepete/pyicloud#464 --- pyicloud/services/drive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyicloud/services/drive.py b/pyicloud/services/drive.py index 87573ce6..100edc9b 100644 --- a/pyicloud/services/drive.py +++ b/pyicloud/services/drive.py @@ -343,7 +343,7 @@ def __getitem__(self, key): raise KeyError(f"No child named '{key}' exists") from i def __str__(self): - return rf"\{type: {self.type}, name: {self.name}\}" + return "{" + f"type: {self.type}, name: {self.name}" + "}" def __repr__(self): return f"<{type(self).__name__}: {str(self)}>"