注册码功能的实现
This commit is contained in:
@@ -28,6 +28,7 @@ from ks_includes.printer import Printer
|
||||
from ks_includes.widgets.keyboard import Keyboard
|
||||
from ks_includes.widgets.prompts import Prompt
|
||||
from ks_includes.config import KlipperScreenConfig
|
||||
from ks_includes.sdbus_reg import LicenseManager
|
||||
from panels.base_panel import BasePanel
|
||||
|
||||
logging.getLogger("urllib3").setLevel(logging.WARNING)
|
||||
@@ -89,6 +90,8 @@ class KlipperScreen(Gtk.Window):
|
||||
self.confirm = None
|
||||
self.panels_reinit = []
|
||||
self.last_popup_time = datetime.now()
|
||||
self.license = LicenseManager()
|
||||
logging.info(f"license interface:{self.license}")
|
||||
|
||||
configfile = os.path.normpath(os.path.expanduser(args.configfile))
|
||||
|
||||
|
Reference in New Issue
Block a user