Skip to content

Commit

Permalink
Update to latest releases and add block to silence maestro errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
hhslepicka committed Oct 18, 2022
1 parent 280e699 commit 0cec956
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
10 changes: 5 additions & 5 deletions {{ cookiecutter.bot_id.replace(' ', '_') }}/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{%- if cookiecutter.project_type == "Desktop" -%}
botcity-framework-core>=0.3.0,<1.0
botcity-framework-core>=0.4.0,<1.0
{%- elif cookiecutter.project_type == "Web" -%}
botcity-framework-web>=0.6.0,<1.0
botcity-framework-web>=0.7.0,<1.0
{%- elif cookiecutter.project_type == "Both" -%}
botcity-framework-core>=0.3.0,<1.0
botcity-framework-web>=0.6.0,<1.0
botcity-framework-core>=0.4.0,<1.0
botcity-framework-web>=0.7.0,<1.0
{%- elif cookiecutter.project_type == "Custom" -%}
botcity-framework-base
{% endif %}
botcity-maestro-sdk>=0.1.5,<1.0
botcity-maestro-sdk>=0.2.0,<1.0
# Uncomment to use botcity-utils
#botcity-utils>=0.1.2
# Uncomment to use botcity-crawler-plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

class Bot(DesktopBot):
def action(self, execution=None):
# Uncomment to silence Maestro errors when disconnected
# if self.maestro:
# self.maestro.RAISE_NOT_CONNECTED = False

# Fetch the Activity ID from the task:
# task = self.maestro.get_task(execution.task_id)
# activity_id = task.activity_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@

class Bot(WebBot):
def action(self, execution=None):
# Uncomment to silence Maestro errors when disconnected
# if self.maestro:
# self.maestro.RAISE_NOT_CONNECTED = False

# Configure whether or not to run on headless mode
self.headless = False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

class Bot(BaseBot):
def action(self, execution=None):
# Uncomment to silence Maestro errors when disconnected
# if self.maestro:
# self.maestro.RAISE_NOT_CONNECTED = False

# Fetch the Activity ID from the task:
# task = self.maestro.get_task(execution.task_id)
# activity_id = task.activity_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

class Bot(WebBot):
def action(self, execution=None):
# Uncomment to silence Maestro errors when disconnected
# if self.maestro:
# self.maestro.RAISE_NOT_CONNECTED = False

# Configure whether or not to run on headless mode
self.headless = False

Expand Down

0 comments on commit 0cec956

Please sign in to comment.