17 lines
524 B
Python
17 lines
524 B
Python
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
if "LibreTranslatePlus" not in globals():
|
||
|
class LibreTranslatePlus:pass
|
||
|
|
||
|
class Anonymous(LibreTranslatePlus.Abstracts.Drivers): # LibreTranslatePlus.Drivers.TGWUI
|
||
|
|
||
|
def __init__(self, ltp, _input = None):
|
||
|
super().__init__(ltp, _input)
|
||
|
|
||
|
if not hasattr(LibreTranslatePlus, "Drivers"):
|
||
|
class Subanonymous:pass
|
||
|
LibreTranslatePlus.Drivers = Subanonymous
|
||
|
del globals()["Subanonymous"]
|
||
|
LibreTranslatePlus.Drivers.TGWUI = Anonymous
|
||
|
del globals()["Anonymous"]
|