Switch to f-string

This commit is contained in:
Serene-Arc authored and Ali Parlakci committed 2021-04-18 16:44:51 +03:00
1 parent 1e1dae8eaa
commit f78856315d
1 file changed
+1 -1
@@ -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}')