mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
Restored PEP-8 compliance! Woo.
This commit is contained in:
parent
9fa487deca
commit
3d27f9e71c
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ class StartQT4(QMainWindow):
|
|||
def file_drop(self):
|
||||
print("booya")
|
||||
|
||||
def checkname(self, filename):
|
||||
if path.splitext(str(filename))[1].lower() in [".jpg", ".jpeg", ".png"]:
|
||||
def checkname(self, name):
|
||||
if path.splitext(str(name))[1].lower() in [".jpg", ".jpeg", ".png"]:
|
||||
return True
|
||||
|
||||
def file_dialog(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue