Skip to content

Commit 3ff0d75

Browse files
committed
fix variable name
1 parent 256dae8 commit 3ff0d75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

algorecell_types/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def autoalias(self, pattern, state):
182182
reg = self.__known_alias[pattern] = {}
183183
a = reg.get(h)
184184
if not a:
185-
a = alias_pat.format(len(reg))
185+
a = pattern.format(len(reg))
186186
reg[h] = a
187187
self.register_alias(a, state)
188188
return a

0 commit comments

Comments
 (0)