You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-07-02 22:36:54 +02:00
play films with kweb for rpi
This commit is contained in:
@ -9,7 +9,6 @@
|
||||
# must return dict like {'cmd': cmd, 'params': params}
|
||||
# this - object (class instance) pointer (self)
|
||||
# abstract this.start() - required method for all commands
|
||||
# abstract this.confirm() - Return True/False (User responce)
|
||||
# this.keywords - dictionary of arrays keywords
|
||||
# like {
|
||||
# (int)weight : ['word1', 'word2', 'word3'],
|
||||
@ -119,9 +118,6 @@ class Command(ABC):
|
||||
def setStart(this, function): # define start (required)
|
||||
this.start = function
|
||||
|
||||
def setConfirm(this, function): # define confirm (optional)
|
||||
this.confirm = function
|
||||
|
||||
######################################################################################
|
||||
# GETTERS #
|
||||
######################################################################################
|
||||
@ -144,10 +140,6 @@ class Command(ABC):
|
||||
def start(this, params): # main method
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def confirm(this): # optional method
|
||||
pass
|
||||
|
||||
######################################################################################
|
||||
# STATIC METHODS #
|
||||
######################################################################################
|
||||
|
Reference in New Issue
Block a user