renamed event to plugins

This commit is contained in:
Faraphel 2022-07-16 21:43:18 +02:00
parent ba14930403
commit f8c04f62a4
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ from source.mkw.Game import Game
from source.mkw.ModConfig import ModConfig
from source.option import Option
from source.translation import translate as _
from source import event
from source import plugins
from source import *
import os
@ -73,7 +73,7 @@ class Window(tkinter.Tk):
"""
Run the installer
"""
event.initialise_plugins()
plugins.initialise()
self.after(0, self.run_after)
self.mainloop()

View file

@ -1,7 +1,7 @@
from pathlib import Path
def initialise_plugins() -> None:
def initialise() -> None:
"""
Execute all the scripts in the ./plugins/ directory that don't start with an underscore.
:return: