From 1e3868e3d08d6ba4790a35683bde293d04dbf78c Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 9 Aug 2024 07:54:15 -0300 Subject: [PATCH] style: format imports in commands.py --- aider/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index 2a418dab2..0214294a3 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -8,7 +8,7 @@ from pathlib import Path import git import pyperclip -from PIL import ImageGrab, Image +from PIL import Image, ImageGrab from aider import models, prompts, voice from aider.help import Help, install_help_extra @@ -911,14 +911,14 @@ class Commands: self.coder.check_added_files() return prompts.added_files.format(fnames=str(abs_file_path)) - + # If not an image, try to get text text = pyperclip.paste() if text: self.io.tool_output("Text content found in clipboard:") self.io.tool_output(text) return text - + self.io.tool_error("No image or text content found in clipboard.") return