Convert the database title retrieved from the GUI to a unicode.

This commit is contained in:
John Ralls 2014-04-04 15:48:15 -07:00
parent f201deabbc
commit a890ff5634

View File

@ -771,7 +771,8 @@ class DbManager(CLIDbManager):
"""
Create a new database, append to model
"""
new_path, title = self.create_new_db_cli(title, create_db)
new_path, title = self.create_new_db_cli(conv_to_unicode(title, 'utf8'),
create_db)
path_name = os.path.join(new_path, NAME_FILE)
(tval, last) = time_val(new_path)
node = self.model.append(None, [title, new_path, path_name,