Skip to content

Commit ebf2c0b

Browse files
committed
4.7.6
- fixed str not int error
1 parent 0281ca6 commit ebf2c0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

process/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__title__ = 'django-process'
22
__description__ = 'An app for create process workflows and schedule tasks on django'
33
__url__ = 'https://github.com/Jesrat/django-process'
4-
__version__ = '4.7.5'
4+
__version__ = '4.7.6'
55
__author__ = 'Josue Gomez'
66
__author_email__ = 'jgomez@jesrat.com'
77
__license__ = 'Apache 2.0'

process/templatetags/process_diagram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ def diagram(obj):
9797
response = response.replace('{name}', str(obj.__str__()))
9898
response = response.replace('{data}', str(data))
9999
response = response.replace('{nodes}', str(nodes))
100-
response = response.replace('{chart_height}', process.chart_height or get_conf('diagram__chart_height'))
100+
response = response.replace('{chart_height}', str(process.chart_height) or get_conf('diagram__chart_height'))
101101
return mark_safe(response)

0 commit comments

Comments
 (0)