Skip to content

Commit

Permalink
Fixed software selection restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Jun 19, 2016
1 parent 9ef3fb0 commit 4f732cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/lib/linuxmint/mintbackup/mintbackup.py
Expand Up @@ -1685,7 +1685,8 @@ def install_packages(self):
model = self.builder.get_object("treeview_package_list").get_model()
for row in model:
if row[0]:
f.write("%s\tinstall\n" % row[3])
line = ("%s\tinstall\n" % row[3]).encode("UTF-8")
f.write(line)
cmd.append("--set-selections-file")
cmd.append("%s" % f.name)
f.flush()
Expand Down

0 comments on commit 4f732cb

Please sign in to comment.