2019-09-02 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'pypad' module that caused the DB connection
	to be opened in 'latin1' mode.
This commit is contained in:
Fred Gleason 2019-09-02 11:39:28 -04:00
parent 45d0518b1e
commit 1b70e21d0e
2 changed files with 6 additions and 1 deletions

View File

@ -19077,3 +19077,6 @@
2019-09-02 Fred Gleason <fredg@paravelsystems.com>
* Removed text labels from the transport button in the cue
editor in rdairplay(1).
2019-09-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'pypad' module that caused the DB connection
to be opened in 'latin1' mode.

View File

@ -797,7 +797,9 @@ class Receiver(object):
def __openDb(self):
creds=self.__getDbCredentials()
return MySQLdb.connect(creds[2],creds[0],creds[1],creds[3])
return MySQLdb.connect(user=creds[0],password=creds[1],
host=creds[2],database=creds[3],
charset='utf8mb4')
def setPadCallback(self,callback):
"""