Skip to content

Commit

Permalink
Use cached list of plugins rather than fetching again
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalters committed Oct 15, 2020
1 parent 18f091b commit 3fed621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytaskr
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def main():
log("Starting event loop")
while True:
try:
for plugin in manager.getAllPlugins():
for plugin in plugins:
task_time = CronTab(plugin.plugin_object.get_schedule())
task_until = round(task_time.next(None, default_utc=True))

Expand Down

0 comments on commit 3fed621

Please sign in to comment.