summaryrefslogtreecommitdiff
path: root/python/downloadprovider.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-09-24 09:20:23 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-24 09:40:16 -0400
commit5a288649e8fcb999c11cca17ad0c1956f3ef8e11 (patch)
tree7d9df04c7ffaa25d6192cfd09f3e48c2b06054a7 /python/downloadprovider.py
parentad16e8b3d27e30cc4eefb7c673f7646a30fe2f26 (diff)
Use more f-strings
Diffstat (limited to 'python/downloadprovider.py')
-rw-r--r--python/downloadprovider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/downloadprovider.py b/python/downloadprovider.py
index cf63a6f1..c44b91e1 100644
--- a/python/downloadprovider.py
+++ b/python/downloadprovider.py
@@ -261,7 +261,7 @@ class _DownloadProviderMetaclass(type):
binaryninja._init_plugins()
provider = core.BNGetDownloadProviderByName(str(value))
if provider is None:
- raise KeyError("'%s' is not a valid download provider" % str(value))
+ raise KeyError(f"'{value}' is not a valid download provider")
return DownloadProvider(provider)