Skip to content

Commit

Permalink
Fix regression with not using content type when routing after f239764 a…
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Oct 3, 2024
1 parent 595146b commit 4d6e7ee
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,9 @@ def run(self, provider, context, focused=None):
cache_to_disc = options.get(provider.RESULT_CACHE_TO_DISC, True)
update_listing = options.get(provider.RESULT_UPDATE_LISTING, False)
else:
ui.clear_property(CONTENT_TYPE)
succeeded = bool(result)
if not succeeded:
ui.clear_property(CONTENT_TYPE)
cache_to_disc = False
update_listing = True

Expand Down

0 comments on commit 4d6e7ee

Please sign in to comment.