Syntax change to make the code more "pythonyst"
This commit is contained in:
parent
d977cfb2ef
commit
7a7d60ce92
21 changed files with 138 additions and 137 deletions
|
|
@ -63,7 +63,7 @@ class create_disk_window:
|
|||
path = self.wpath.get_filename()
|
||||
name = self.wname.get_text()
|
||||
|
||||
if ((path == None) or (path == "") or (name == None) or (name == "")):
|
||||
if ((path is None) or (path == "") or (name is None) or (name == "")):
|
||||
self.waccept.set_sensitive(False)
|
||||
else:
|
||||
self.waccept.set_sensitive(True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue