mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-01 18:28:27 +02:00
renamed event to plugins
This commit is contained in:
parent
ba14930403
commit
f8c04f62a4
2 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -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:
|
Loading…
Reference in a new issue