fix album author
This commit is contained in:
parent
6f78a48e57
commit
0c94783852
@ -171,7 +171,8 @@ class WPimport:
|
|||||||
split_paragraph = str(paragraph).split("<br/>")
|
split_paragraph = str(paragraph).split("<br/>")
|
||||||
self._logger.info("{0} get paragraph splitted : {1}".format(self._name, split_paragraph))
|
self._logger.info("{0} get paragraph splitted : {1}".format(self._name, split_paragraph))
|
||||||
if len(split_paragraph) > 1:
|
if len(split_paragraph) > 1:
|
||||||
author = split_paragraph[1].split(":")[1].replace(" ", "").lower()
|
if len(split_paragraph[1].split(":")) > 1:
|
||||||
|
author = split_paragraph[1].split(":")[1].replace(" ", "").lower()
|
||||||
return author
|
return author
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user