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:
parent
f3fe146c66
commit
96c78dae00
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user