Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

replace tabs with spaces

  • Loading branch information...
commit f27ee2464c931905a55f2c54fdde6a2e5576e16f 1 parent 18aaf08
@fossfreedom authored
Showing with 11 additions and 11 deletions.
  1. +10 −10 coverart_album.py
  2. +1 −1  coverart_artistview.py
View
20 coverart_album.py
@@ -726,16 +726,16 @@ def _album_modified(self, album):
new_pos = self._albums.reorder(album)
if new_pos != -1:
- if (new_pos + 1) >= len(self._albums):
- old_album = self._albums[new_pos - 1]
- old_iter = \
- self._iters[old_album.name][old_album.artist]['iter']
- self._tree_store.move_after(tree_iter, old_iter)
- else:
- old_album = self._albums[new_pos + 1]
- old_iter = \
- self._iters[old_album.name][old_album.artist]['iter']
- self._tree_store.move_before(tree_iter, old_iter)
+ if (new_pos + 1) >= len(self._albums):
+ old_album = self._albums[new_pos - 1]
+ old_iter = \
+ self._iters[old_album.name][old_album.artist]['iter']
+ self._tree_store.move_after(tree_iter, old_iter)
+ else:
+ old_album = self._albums[new_pos + 1]
+ old_iter = \
+ self._iters[old_album.name][old_album.artist]['iter']
+ self._tree_store.move_before(tree_iter, old_iter)
# inform that the album is updated
print ("album modified")
View
2  coverart_artistview.py
@@ -186,7 +186,7 @@ def _compare(self, model, row1, row2, user_data):
return 0
else:
return 1
-
+
@property
def store(self):
#return self._filtered_store
Please sign in to comment.
Something went wrong with that request. Please try again.