replace 2-element f-strings with simple '+' concatenations
Python's 'ast' module and its 'NodeVisitor' class were incredibly helpful in identifying these
This commit is contained in:
@@ -66,7 +66,7 @@ class DeviantartExtractor(Extractor):
|
||||
self.quality = "-fullview.png?"
|
||||
self.quality_sub = text.re(r"-fullview\.[a-z0-9]+\?").sub
|
||||
else:
|
||||
self.quality = f",q_{self.quality}"
|
||||
self.quality = ",q_" + str(self.quality)
|
||||
self.quality_sub = text.re(r",q_\d+").sub
|
||||
|
||||
if self.intermediary:
|
||||
|
||||
Reference in New Issue
Block a user