Skip to content

Commit

Permalink
minor bug fix for getting stradi in console
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Apr 16, 2019
1 parent b17d019 commit b7006fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion straditize/widgets/menu_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ def set_stradi_in_console(self):
global straditizer
straditizer = self.straditizer
if mainwindow is not None:
mainwindow.console.kernel_manager.kernel.shell.run_code(
mainwindow.console.run_command_in_shell(
'from %s import straditizer as stradi' % __name__)
straditizer = None

Expand Down

0 comments on commit b7006fc

Please sign in to comment.