Skip to content

Commit

Permalink
Fix ScheduledActionService.autoBackup() not doing backups of all books
Browse files Browse the repository at this point in the history
It was doing a backup of just the active book.

It solves the problem only for the case in which the backup is created
in the default diretory. Pending to solve the case in which the user
specifies a target file.
  • Loading branch information
rivaldi8 committed Jan 16, 2018
1 parent 13304f0 commit b657141
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ private static void autoBackup(){
for (String bookUID : bookUIDs) {
String backupFile = BookUtils.getBookBackupFileUri(bookUID);
if (backupFile == null){
GncXmlExporter.createBackup();
GncXmlExporter.createBackup(bookUID);
continue;
}

Expand Down

0 comments on commit b657141

Please sign in to comment.