diff --git a/Qalbum.py b/Qalbum.py index feec040..0c0ef8e 100755 --- a/Qalbum.py +++ b/Qalbum.py @@ -291,7 +291,7 @@ def getinfo(path): if not os.path.exists(os.path.join(path,'info.txt')): return '' reader = open(os.path.join(path,'info.txt'),'r') - return unicode(reader.read(),encoding="utf8").encode('ascii','xmlcharrefreplace') + return unicode(reader.read(),encoding="utf8",errors="ignore").encode('ascii','xmlcharrefreplace') def crumblinks(crumbs): ''' Create the HTML string for crumb trails '''