fixed pep8 issue

This commit is contained in:
Arvedui 2014-11-02 17:04:52 +01:00
parent 04eb15c330
commit 38128eab31

View File

@ -89,7 +89,7 @@ class MPD(IntervalModule):
for key in self.truncate_fields: for key in self.truncate_fields:
if len(fdict[key]) > self.text_len: if len(fdict[key]) > self.text_len:
fdict[key] = fdict[key][:self.text_len-1] + "" fdict[key] = fdict[key][:self.text_len - 1] + ""
if not fdict["title"] and "filename" in fdict: if not fdict["title"] and "filename" in fdict:
fdict["filename"] = '.'.join( fdict["filename"] = '.'.join(