fixup! Improve variable names to match Code Style Guide (see #103)

This commit is contained in:
coderkun 2024-11-03 10:56:25 +01:00
commit 188dcb4ef8

View file

@ -924,7 +924,7 @@ class MCGAlbum:
def __init__(self, title, host): def __init__(self, title, host):
self._artists = [] self._artists = []
self._albumartists = [] self._albumartists = []
self._pathes = [] self._paths = []
if type(title) is list: if type(title) is list:
title = title[0] title = title[0]
self._title = title self._title = title
@ -986,8 +986,8 @@ class MCGAlbum:
): ):
self._dates.append(track.get_date()) self._dates.append(track.get_date())
path = os.path.dirname(track.get_file()) path = os.path.dirname(track.get_file())
if path not in self._pathes: if path not in self._paths:
self._pathes.append(path) self._paths.append(path)
if track.get_last_modified(): if track.get_last_modified():
if ( if (
not self._last_modified not self._last_modified