Skip to content

Commit

Permalink
Fix this-referencies for flow task loader. Close viewflow#303
Browse files Browse the repository at this point in the history
  • Loading branch information
kmmbvnr committed Jan 15, 2021
1 parent 587a857 commit 97a15b5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
=========

1.8.1 2021-01-15
----------------

* Fix this-referencies for flow.Functon task loader


1.8.0 2021-01-07
----------------

Expand Down
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ Please see `FAQ <https://github.com/kmmbvnr/django-viewflow/wiki/Pro-FAQ>`_ for
Latest changelog
================

1.8.1 2021-01-15
----------------

* Fix this-referencies for flow.Functon task loader


1.8.0 2021-01-07
----------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='django-viewflow',
version='1.8.0',
version='1.8.1',
author='Mikhail Podgurskiy',
author_email='[email protected]',
description='Reusable workflow library for django',
Expand Down
2 changes: 1 addition & 1 deletion viewflow/nodes/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def ready(self):
else:
self.func = self._func
if isinstance(self._task_loader, ThisObject):
self._task_loader = getattr(self.flow_class.instance, self._task_loader.name)
self.task_loader = getattr(self.flow_class.instance, self._task_loader.name)
else:
self.task_loader = self._task_loader

Expand Down

0 comments on commit 97a15b5

Please sign in to comment.