diff -r 7878fc1493fb -r 40a29731e0d0 PluginAiOllama.py --- a/PluginAiOllama.py Wed Oct 02 09:11:09 2024 +0200 +++ b/PluginAiOllama.py Thu Oct 24 14:55:20 2024 +0200 @@ -33,7 +33,7 @@ "author": "Detlev Offenbach <detlev@die-offenbachs.de>", "autoactivate": True, "deactivateable": True, - "version": "10.1.4", + "version": "10.1.5", "className": "PluginOllamaInterface", "packageName": "OllamaInterface", "shortDescription": "Graphical 'ollama' client for eric-ide.", @@ -264,6 +264,7 @@ try: self.__ui.activateLeftRightSidebarWidget(self.__widget) except AttributeError: + # backward compatibility with eric < 24.9. self.__activateLeftRightSidebarWidget(self.__widget) else: self.__widget.show() @@ -333,7 +334,7 @@ @param widget reference to the widget to be activated @type QWidget """ - # This is for backward compatibility with eric-ide < 24.9. + # backward compatibility with eric < 24.9. sidebar = ( self.__ui.leftSidebar if Preferences.getUI("CombinedLeftRightSidebar")