Skip to content

Commit d465a2a

Browse files
committed
Fix bug
1 parent 66b7cdb commit d465a2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/benchmark.py

+2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ def obffuscate_python_scripts(output, filename):
138138
p.wait()
139139

140140
def check_default_capsule():
141+
if not os.path.exists('pyarmor.py'):
142+
return
141143
capsule = 'project.zip'
142144
if os.path.exists(capsule):
143145
logging.info('Use capsule: %s', capsule)

0 commit comments

Comments
 (0)