Fix several issues revealed by testing and static analysis
- Fix type annotations in d2warehouse.stash - Fix invalid escape sequences in d2warehouse.item - Bump the minimum supported version of python to 3.10 - Fix ambiguous variable name in d2warehouse.huffman
This commit is contained in:
@@ -62,7 +62,7 @@ class Stat:
|
||||
for val in self.values:
|
||||
subst_text = subst_text.replace("#", str(val), 1)
|
||||
if self.parameter:
|
||||
subst_text = re.sub("\[[^\]]*\]", str(self.parameter), subst_text, 1)
|
||||
subst_text = re.sub(r"\[[^\]]*\]", str(self.parameter), subst_text, 1)
|
||||
print(" " * indent, subst_text)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user