mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🔥 use f strings
This commit is contained in:
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user