From 96c78dae008a91e0f5f23c3a2a89c42ad031598f Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Mon, 22 Apr 2024 17:40:30 -0400 Subject: [PATCH] [Minor] Flake8 is Grumpy --- myNotebook.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/myNotebook.py b/myNotebook.py index b51ada78..43acfebd 100644 --- a/myNotebook.py +++ b/myNotebook.py @@ -104,9 +104,10 @@ class EntryMenu(ttk.Entry): img = ImageGrab.grabclipboard() if img: # Hijack existing translation, yes it doesn't exactly match here. - # LANG: Generic error prefix - following text is from Frontier auth service; - messagebox.showwarning(tr.tl('Error'), - tr.tl('Cannot paste non-text content.')) # LANG: Can't Paste Images or Files in Text + messagebox.showwarning( + tr.tl('Error'), # LANG: Generic error prefix - following text is from Frontier auth service; + tr.tl('Cannot paste non-text content.') # LANG: Can't Paste Images or Files in Text + ) return text = self.clipboard_get() if self.selection_present() and text: