aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/autogpt/prompts/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/autogpt/autogpt/prompts/utils.py')
-rw-r--r--autogpts/autogpt/autogpt/prompts/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/autogpt/prompts/utils.py b/autogpts/autogpt/autogpt/prompts/utils.py
index ad5aaa237..f5ab9df9d 100644
--- a/autogpts/autogpt/autogpt/prompts/utils.py
+++ b/autogpts/autogpt/autogpt/prompts/utils.py
@@ -6,6 +6,6 @@ def format_numbered_list(items: list[Any], start_at: int = 1) -> str:
def indent(content: str, indentation: int | str = 4) -> str:
- if type(indentation) == int:
+ if type(indentation) is int:
indentation = " " * indentation
return indentation + content.replace("\n", f"\n{indentation}") # type: ignore