Skip to content

Commit

Permalink
Refine error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jondy committed Sep 16, 2020
1 parent 818410c commit 6b38b06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.py
Expand Up @@ -150,7 +150,8 @@ def pytransform_bootstrap(capsule=None, force=False):
logging.debug('The version of core library is %s', ver)
if ver[0] < 32:
raise RuntimeError('PyArmor does not work with this core library '
'(r%d), which reversion < 32' % ver[0])
'(r%d), which reversion < r32, please run '
'"pyarmor download --update" to fix it' % ver[0])

if capsule is not None and not os.path.exists(capsule):
logging.info('Generating public capsule ...')
Expand Down

0 comments on commit 6b38b06

Please sign in to comment.