Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/robotide/application/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
# limitations under the License.

from .application import RIDE
from .debugconsole import *
from . import debugconsole
from ..controller import Project
from .editorprovider import EditorProvider
7 changes: 4 additions & 3 deletions src/robotide/publish/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,11 @@ def important_action(self):

import os

from .messages import *
from .messages import * # Wildcard import OK: messages.py defines __all__
from .publisher import PUBLISHER


def get_html_message(name):
return open(os.path.join(
os.path.dirname(__file__), 'htmlmessages', '{}.html'.format(name))).read()
path = os.path.join(os.path.dirname(__file__), 'htmlmessages', f'{name}.html')
with open(path, encoding='utf-8') as f:
return f.read()
Loading