mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -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):
|
def file_drop(self):
|
||||||
print("booya")
|
print("booya")
|
||||||
|
|
||||||
def checkname(self, filename):
|
def checkname(self, name):
|
||||||
if path.splitext(str(filename))[1].lower() in [".jpg", ".jpeg", ".png"]:
|
if path.splitext(str(name))[1].lower() in [".jpg", ".jpeg", ".png"]:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def file_dialog(self):
|
def file_dialog(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue