Skip to content

Commit 521b500

Browse files
committed
支持dir_rule使用f-string语法
1 parent 5cd0104 commit 521b500

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jmcomic/jm_entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def get_properties_dict(self):
184184

185185
# advice
186186
advice_dict = JmModuleConfig.AFIELD_ADVICE if self.is_album() else JmModuleConfig.PFIELD_ADVICE
187-
for name, func in advice_dict:
187+
for name, func in advice_dict.items():
188188
k = prefix + name
189189
result[k] = func(self)
190190

0 commit comments

Comments
 (0)