Skip to content

Commit

Permalink
Fix issue #1542
Browse files Browse the repository at this point in the history
  • Loading branch information
jondy committed Oct 19, 2023
1 parent b439620 commit b7196c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sys

from .context import Context
from .generate import Builder, Pytransform3
from .generate import Pytransform3
from .register import Register, MACHFLAGS


Expand Down Expand Up @@ -53,7 +53,8 @@ def parse_packet(self, packet):
def generate_runtime_key(self, userdata):
ctx = CONFIG['ctx']
ctx.cmd_options['user_data'] = userdata
return Builder(ctx).generate_runtime_key()
Pytransform3._pytransform3.init_ctx(ctx)
return Pytransform3.generate_runtime_key(ctx)


def register_pyarmor(ctx, regfile):
Expand Down

0 comments on commit b7196c5

Please sign in to comment.