Skip to content

Commit

Permalink
Merge pull request #1 from kyu1204/patch-workflow
Browse files Browse the repository at this point in the history
fix: patch workflow
  • Loading branch information
kyu1204 authored Feb 5, 2024
2 parents cd8b3fb + b3a6d38 commit b091615
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 14 deletions.
Binary file modified releases/Alfred Ollama.alfredworkflow
Binary file not shown.
Binary file modified src/requests/__pycache__/packages.cpython-39.pyc
Binary file not shown.
Binary file modified src/urllib3/__pycache__/response.cpython-39.pyc
Binary file not shown.
Binary file added src/workflow/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added src/workflow/__pycache__/util.cpython-39.pyc
Binary file not shown.
Binary file added src/workflow/__pycache__/workflow.cpython-39.pyc
Binary file not shown.
Binary file added src/workflow/__pycache__/workflow3.cpython-39.pyc
Binary file not shown.
14 changes: 0 additions & 14 deletions src/workflow/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2086,20 +2086,6 @@ def run(self, func, text_errors=False):
# Call workflow's entry function/method within a try-except block
# to catch any errors and display an error message in Alfred
try:
if self.version:
self.logger.debug(
"---------- %s (%s) ----------", self.name, self.version
)
else:
self.logger.debug("---------- %s ----------", self.name)

# Run update check if configured for self-updates.
# This call has to go in the `run` try-except block, as it will
# initialise `self.settings`, which will raise an exception
# if `settings.json` isn't valid.
if self._update_settings:
self.check_update()

# Run workflow's entry function/method
func(self)

Expand Down

0 comments on commit b091615

Please sign in to comment.