Skip to content

Commit 7ab2f9d

Browse files
committed
fix: f-string syntax error on Python < 3.12
1 parent e843af7 commit 7ab2f9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

legendary/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ def download_saves(self, app_name='', manifest_name='', save_dir='', clean_dir=F
10981098
self.log.info(f'Downloading {len(chunkLinks)} chunks...')
10991099

11001100
def log_download(r, *args, **kwargs):
1101-
self.log.debug(f'Downloaded chunk {'/'.join(urlparse(r.url).path.split('/')[5:])} successfully.')
1101+
self.log.debug(f'Downloaded chunk {"/".join(urlparse(r.url).path.split("/")[5:])} successfully.')
11021102

11031103
# map chunkLinks to self.egs.unauth_future_session.get
11041104
futures = [self.egs.unauth_future_session.get(link, hooks={'response': log_download}) for link in chunkLinks]

0 commit comments

Comments
 (0)