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
|
|
@ -36,7 +36,7 @@ class add_files:
|
|||
builder.connect_signals(self)
|
||||
wadd_files = builder.get_object("add_files")
|
||||
self.wfile_chooser = builder.get_object("filechooserwidget1")
|
||||
if (add_files.last_path != None):
|
||||
if (add_files.last_path is not None):
|
||||
self.wfile_chooser.set_current_folder(add_files.last_path)
|
||||
self.wbutton_accept = builder.get_object("button_accept")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue