File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ from botcity.web import WebBot
1414
1515
1616class Bot (WebBot ):
17- def action (self , execution ):
17+ def action (self , execution = None
1818 # Configure whether or not to run on headless mode
1919 self .headless = False
2020
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ from botcity.web import WebBot, Browser
5555
5656
5757class Bot (WebBot ):
58- def action (self , execution ):
58+ def action (self , execution = None ):
5959 # Configure whether or not to run on headless mode
6060 self .headless = False
6161
@@ -82,7 +82,7 @@ from botcity.web import WebBot, Browser
8282
8383
8484class Bot (WebBot ):
85- def action (self , execution ):
85+ def action (self , execution = None ):
8686 # Configure whether or not to run on headless mode
8787 self .headless = False
8888
@@ -126,7 +126,7 @@ from botcity.web.browsers.chrome import default_options
126126# from botcity.web.browsers.firefox import default_options
127127
128128class Bot (WebBot ):
129- def action (self , execution ):
129+ def action (self , execution = None ):
130130 # Configure whether or not to run on headless mode
131131 self .headless = False
132132
You can’t perform that action at this time.
0 commit comments