remove unnecessary if statement

This commit is contained in:
renantamashiro 2020-06-28 01:34:41 -03:00
parent 6c5c6fd1cf
commit 00781d4e17

View file

@ -57,6 +57,7 @@ class UserVoiceNode(Node):
if not widget_key:
widget_key = self.default_widget_key
return ''
# default
options = {}
options.update(getattr(settings, 'USERVOICE_WIDGET_OPTIONS', {}))