Dropping trailing whitespaces

This commit is contained in:
David
2014-08-06 12:46:26 +02:00
parent 78c866ce59
commit 0c61eb11f5
91 changed files with 3139 additions and 3139 deletions
+1 -1
View File
@@ -36,6 +36,6 @@ class Library:
if attributes.get('Play Count'):
s.play_count = int(attributes.get('Play Count'))
if attributes.get('Location'):
s.location = attributes.get('Location')
s.location = attributes.get('Location')
songs.append(s)
return songs
+1 -1
View File
@@ -42,5 +42,5 @@ class Song:
album_rating = None
play_count = None
location = None
#title = property(getTitle,setTitle)
+1 -1
View File
@@ -5,7 +5,7 @@ class XMLLibraryParser:
s = f.read()
lines = s.split("\n")
self.dictionary = self.parser(lines)
def getValue(self,restOfLine):
value = re.sub("<.*?>","",restOfLine)
u = unicode(value,"utf-8")