mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
update checkname
This commit is contained in:
parent
fd4cdac0ba
commit
912f7ab7ef
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class StartQT4(QMainWindow):
|
||||||
print("booya")
|
print("booya")
|
||||||
|
|
||||||
def checkname(self, filename):
|
def checkname(self, filename):
|
||||||
if os.path.splitext(filename)[1].lower() in ["jpg", "jpeg", "png"]:
|
if path.splitext(filename)[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