🔥 use f strings

This commit is contained in:
Nikhil Badyal
2023-08-05 21:59:03 +05:30
parent c94a20d5e2
commit 710e867c85
+1 -1
View File
@@ -48,7 +48,7 @@ class APP(object):
def __str__(self: "APP") -> str: def __str__(self: "APP") -> str:
attrs = vars(self) attrs = vars(self)
return ", ".join("%s: %s" % item for item in attrs.items()) return ", ".join([f"{key}: {value}" for key, value in attrs.items()])
@staticmethod @staticmethod
def download(url: str, config: RevancedConfig, assets_filter: str) -> str: def download(url: str, config: RevancedConfig, assets_filter: str) -> str: