1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

[Minor] Typos and mypy

This commit is contained in:
Phoebe 2023-11-17 22:40:08 +01:00
parent 71ff00ce58
commit ed163ddb61
2 changed files with 4 additions and 4 deletions

View File

@ -199,7 +199,7 @@ def plugin_start3(plugin_dir: str) -> str:
"""
Start the plugin.
:param plugin_dir: NAme of directory this was loaded from.
:param plugin_dir: Name of directory this was loaded from.
:return: Identifier string for this plugin.
"""
# Can't be earlier since can only call PhotoImage after window is created

View File

@ -37,8 +37,8 @@ class This:
self.parent: tk.Tk
self.shutting_down = False # Plugin is shutting down.
self.system_link: tk.Widget = None # type: ignore
self.system_name: str | None = None # type: ignore
self.system_address: str | None = None # type: ignore
self.system_name: str | None = None
self.system_address: str | None = None
self.system_population: int | None = None
self.station_link: tk.Widget = None # type: ignore
self.station_name = None
@ -54,7 +54,7 @@ def plugin_start3(plugin_dir: str) -> str:
"""
Start the plugin.
:param plugin_dir: NAme of directory this was loaded from.
:param plugin_dir: Name of directory this was loaded from.
:return: Identifier string for this plugin.
"""
return 'spansh'