fix namespace

This commit is contained in:
ghost 2023-11-13 22:07:26 +02:00
parent 2c47332eaf
commit b0b0f1123f

View File

@ -137,8 +137,8 @@ class Config:
config = Config()
class RutorYggdrasil:
name = "Rutor [Yggdrasil]"
class Rutor_yggdrasil_321_c99a_91a1_cd2c__16:
name = "Rutor Yggdrasil [321:c99a:91a1:cd2c::16]"
url = "http://[321:c99a:91a1:cd2c::16]/"
url_dl = url.replace("//", "//d.") + "download/"
supported_categories = {"all": 0,
@ -280,12 +280,12 @@ class RutorYggdrasil:
# pep8
rutorYggdrasil = RutorYggdrasil
rutor_yggdrasil_321_c99a_91a1_cd2c__16 = Rutor_yggdrasil_321_c99a_91a1_cd2c__16
if __name__ == "__main__":
if BASEDIR.parent.joinpath("settings_gui.py").exists():
from settings_gui import EngineSettingsGUI
EngineSettingsGUI(FILENAME)
engine = rutorYggdrasil()
engine.search("doctor")
engine = rutor_yggdrasil_321_c99a_91a1_cd2c__16()
engine.search("doctor")