fixed one p2 command

This commit is contained in:
2020-09-26 21:42:08 +03:00
parent fb31b64f45
commit 94baa22650
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ from datetime import datetime
# (c) ville.q.rantanen@gmail.com # (c) ville.q.rantanen@gmail.com
__version__='2.20200922' __version__='2.20200926'
FILECONFIG=".config" FILECONFIG=".config"
FILEDESC="descriptions.csv" FILEDESC="descriptions.csv"
@@ -404,7 +404,7 @@ def getinfo(path,options):
if not os.path.exists(os.path.join(path,options.infofile)): if not os.path.exists(os.path.join(path,options.infofile)):
return '' return ''
reader = open(os.path.join(path,options.infofile),'r') reader = open(os.path.join(path,options.infofile),'r')
return unicode(reader.read(),encoding="utf8",errors="ignore").encode('ascii','xmlcharrefreplace') return unescape(reader.read())
def crumblinks(crumbs, title, parent): def crumblinks(crumbs, title, parent):

View File

@@ -8,7 +8,7 @@ setup(
'scripts/Qalbum-descriptor'], 'scripts/Qalbum-descriptor'],
package_data={'':['lib/*']}, package_data={'':['lib/*']},
include_package_data=True, include_package_data=True,
version = '2.20200922', version = '2.20200926',
description = 'A tool to create a web gallery from a folder structure of images / other files.', description = 'A tool to create a web gallery from a folder structure of images / other files.',
author = 'Ville Rantanen', author = 'Ville Rantanen',
author_email = 'ville.q.rantanen@gmail.com', author_email = 'ville.q.rantanen@gmail.com',