Merge remote-tracking branch 'upstream/main'

This commit is contained in:
dabreadman 2021-11-27 18:07:00 +00:00
commit f30893bab4

View File

@ -183,7 +183,7 @@ class Config:
@classmethod @classmethod
def get_song_archive(cls) -> str: def get_song_archive(cls) -> str:
return os.path.join(ZSpotify.CONFIG.get_root_path(), cls.get(SONG_ARCHIVE)) return os.path.join(cls.get_root_path(), cls.get(SONG_ARCHIVE))
@classmethod @classmethod
def get_credentials_location(cls) -> str: def get_credentials_location(cls) -> str:
@ -193,7 +193,7 @@ class Config:
def get_temp_download_dir(cls) -> str: def get_temp_download_dir(cls) -> str:
if cls.get(TEMP_DOWNLOAD_DIR) == '': if cls.get(TEMP_DOWNLOAD_DIR) == '':
return '' return ''
return os.path.join(ZSpotify.CONFIG.get_root_path(), cls.get(TEMP_DOWNLOAD_DIR)) return os.path.join(cls.get_root_path(), cls.get(TEMP_DOWNLOAD_DIR))
@classmethod @classmethod
def get_output(cls, mode: str) -> str: def get_output(cls, mode: str) -> str: