Skip to content

Commit

Permalink
SFT-2121: start search for backups in root of microsd
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Jun 21, 2023
1 parent 54938d9 commit 5ce3eea
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
SuccessPage,
YesNoChooserPage
)
from utils import get_backups_folder_path, spinner_task, get_backup_code_as_password
from utils import spinner_task, get_backup_code_as_password
from tasks import restore_backup_task, get_backup_code_task
from errors import Error
import common
Expand Down Expand Up @@ -52,8 +52,7 @@ async def check_if_erased(self):
self.goto(self.choose_file)

async def choose_file(self):
backups_path = get_backups_folder_path()
result = await FilePickerFlow(initial_path=backups_path, suffix='.7z', show_folders=True).run()
result = await FilePickerFlow(suffix='.7z', show_folders=True).run()
if result is None:
# No file chosen, so go back to menu
self.set_result(False)
Expand Down

0 comments on commit 5ce3eea

Please sign in to comment.