Skip to content

Commit e942cce

Browse files
committed
merels: Convert incorrectly shared class variable to instance variable.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 188d459 commit e942cce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zulip_bots/zulip_bots/bots/merels/merels.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77

88
class Storage:
9-
data = {}
10-
119
def __init__(self, topic_name):
10+
self.data = {}
1211
self.data[topic_name] = '["X", 0, 0, "NNNNNNNNNNNNNNNNNNNNNNNN", "", 0]'
1312

1413
def put(self, topic_name, value: str):

0 commit comments

Comments
 (0)