Skip to content

Commit eddbce1

Browse files
committed
one more place to use str type for uniqueFrameId
1 parent 099f5a1 commit eddbce1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frame.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cdef str GetUniqueFrameId(int browserId, py_string frameId):
1515
return str(browserId) +"#"+ frameId
1616

1717
cdef PyFrame GetPyFrameById(int browserId, py_string frameId):
18-
cdef object uniqueFrameId = GetUniqueFrameId(browserId, frameId)
18+
cdef str uniqueFrameId = GetUniqueFrameId(browserId, frameId)
1919
if uniqueFrameId in g_pyFrames:
2020
return g_pyFrames[uniqueFrameId]
2121
return None

0 commit comments

Comments
 (0)