Browse Source

fix namespace

yggdrasil
ghost 1 year ago
parent
commit
b0b0f1123f
  1. 10
      engines/rutor_yggdrasil_321_c99a_91a1_cd2c__16.py

10
engines/rutor_yggdrasil.py → engines/rutor_yggdrasil_321_c99a_91a1_cd2c__16.py

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