From 188dcb4ef86f517056ac605ed036c40596c3c90b Mon Sep 17 00:00:00 2001 From: coderkun Date: Sun, 3 Nov 2024 10:56:25 +0100 Subject: [PATCH] fixup! Improve variable names to match Code Style Guide (see #103) --- src/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.py b/src/client.py index e5ffce2..e761078 100644 --- a/src/client.py +++ b/src/client.py @@ -924,7 +924,7 @@ class MCGAlbum: def __init__(self, title, host): self._artists = [] self._albumartists = [] - self._pathes = [] + self._paths = [] if type(title) is list: title = title[0] self._title = title @@ -986,8 +986,8 @@ class MCGAlbum: ): self._dates.append(track.get_date()) path = os.path.dirname(track.get_file()) - if path not in self._pathes: - self._pathes.append(path) + if path not in self._paths: + self._paths.append(path) if track.get_last_modified(): if ( not self._last_modified