identify home better supports env home in non daemon

This commit is contained in:
Kevin Froman 2019-12-20 02:33:42 -06:00
parent e5f3866f9e
commit 9571ea519d
2 changed files with 4 additions and 1 deletions

View file

@ -61,7 +61,7 @@ def block_exec(event, info):
if info[0].co_filename.endswith(source):
return
if info[0].co_filename.startswith(home + 'plugins/'):
if home + 'plugins/' in info[0].co_filename:
return
code_b64 = base64.b64encode(info[0].co_code).decode()