Syntax change to make the code more "pythonyst"

This commit is contained in:
Sergio Costas 2016-02-05 22:18:19 +01:00
parent d977cfb2ef
commit 7a7d60ce92
21 changed files with 138 additions and 137 deletions

View file

@ -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: