1
0
Fork 0
mirror of synced 2024-06-26 18:10:26 +12:00

Switch to f-string

This commit is contained in:
Serene-Arc 2021-04-04 09:20:22 +10:00 committed by Ali Parlakci
parent 1e1dae8eaa
commit f78856315d

View file

@ -47,4 +47,4 @@ class DownloadFactory:
elif re.match(url_beginning + r'.*/.*\.\w{3,4}$', url):
return Direct
else:
raise NotADownloadableLinkError('No downloader module exists for url {}'.format(url))
raise NotADownloadableLinkError(f'No downloader module exists for url {url}')