1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

[Minor] Flake8 is Grumpy

This commit is contained in:
David Sangrey 2024-04-22 17:40:30 -04:00
parent f3fe146c66
commit 96c78dae00
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -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: