feedback alt

This commit is contained in:
Gleb 2017-03-27 14:57:12 +03:00
parent 437c4a8646
commit 3a589bf40e
1 changed files with 3 additions and 3 deletions

View File

@ -69,11 +69,11 @@ class GoogleAnalyticsPlugin(p.SingletonPlugin):
'googleanalytics.fields', '{}'))
googleanalytics_linked_domains = config.get(
'googleanalytics.linked_domains', None
'googleanalytics.linked_domains', ''
)
self.googleanalytics_linked_domains = [
x.strip() for x in googleanalytics_linked_domains.split(',')
] if googleanalytics_linked_domains else None
x.strip() for x in googleanalytics_linked_domains.split(',') if x
]
if self.googleanalytics_linked_domains:
self.googleanalytics_fields['allowLinker'] = 'true'