Skip to content

Commit

Permalink
Broader filter for restore files
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Leonard <[email protected]>
  • Loading branch information
antonlacon committed Feb 13, 2021
1 parent 0e4e1c5 commit 7da285b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resources/lib/modules/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,12 @@ def do_restore(self, listItem=None):
restore_file_path = xbmcDialog.browse( 1,
oe._(32373),
'files',
'??????????????.tar',
'.tar|.tar.gz|.tar.bz2|.tar.xz',
False,
False,
self.BACKUP_DESTINATION )
self.BACKUP_DESTINATION,
False )

# Do nothing if the dialog is cancelled - path will be the backup destination
if not os.path.isfile(restore_file_path):
return
Expand Down

0 comments on commit 7da285b

Please sign in to comment.