Skip to content

Commit

Permalink
Fix comtypes 1.4.5 change
Browse files Browse the repository at this point in the history
  • Loading branch information
dshikashio authored Jul 23, 2024
1 parent 9f9b19b commit 3b2751e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pybag/dbgeng/idebugcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
from .util import logger

from comtypes.gen.DbgEng import IDebugBreakpoint2
from comtypes import _compointer_base

try:
from comtypes import _compointer_base
except:
# Comtypes 1.4.5+
from comtypes._post_coinit.unknwn import _compointer_base

class DebugControl(object):
def __init__(self, controlobj):
Expand Down

0 comments on commit 3b2751e

Please sign in to comment.