mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
fix falsed xontrib prompt
This commit is contained in:
parent
3f45378515
commit
b05cd80e85
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class Shell(object):
|
|||
names = builtins.__xonsh_config__.get('xontribs', ())
|
||||
for name in names:
|
||||
update_context(name, ctx=self.ctx)
|
||||
if hasattr(update_context, 'bad_imports'):
|
||||
if getattr(update_context, 'bad_imports', None):
|
||||
prompt_xontrib_install(update_context.bad_imports)
|
||||
del update_context.bad_imports
|
||||
# load run control files
|
||||
|
|
Loading…
Add table
Reference in a new issue