Skip to content

Commit 4b5919c

Browse files
committed
fix import error
1 parent 281127c commit 4b5919c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import prelude
1+
from . import prelude
22

33
from commands import dt
44
from commands import stackfold

util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def StdMapToDict(iMap):
1515
it = StdMapPrinter('map', iMap).children()
1616
res = {}
1717
for key, value in it:
18-
m = re.search('\[(\d{1,3})\]', key)
18+
m = re.search(r'[(\d{1,3})]', key)
1919
if m:
2020
count = int(m.group(1))
2121
if count % 2 == 0:

0 commit comments

Comments
 (0)