small code style changes

This commit is contained in:
Martin Wagner 2020-04-09 00:26:21 +02:00
parent 3f42f62be6
commit da2eb5cba0

View File

@ -1128,7 +1128,7 @@ class ArtistView(FocusFrame):
return artists
def on_row_activated(self, widget, path, view_column):
if self.last_artist_path != None:
if not self.last_artist_path == None:
try:
self.store[self.last_artist_path][1]=Pango.Weight.BOOK
except: