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
|
|
@ -27,7 +27,7 @@ class title(GObject.GObject):
|
|||
GObject.GObject.__init__(self)
|
||||
self.config = config
|
||||
self.file_treeview = file_treeview
|
||||
if (title_name == None):
|
||||
if (title_name is None):
|
||||
title.counter += 1
|
||||
self.title_name = _("Title %(X)d") % {"X":title.counter}
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue