Browse Source

Remove unnecessary comments

PASS1-133
Ken Carpenter 4 years ago
committed by Ken Carpenter
parent
commit
dc4fdd8e76
  1. 2
      ports/stm32/boards/Passport/modules/export.py
  2. 3
      ports/stm32/boards/Passport/modules/utils.py

2
ports/stm32/boards/Passport/modules/export.py

@ -562,7 +562,7 @@ async def write_complete_backup(words, auto_backup=False, is_first_backup=False)
backup_num += 1
settings.set('backup_num', backup_num)
if not auto_backup: # /backups/passport-backup-3.7z
if not auto_backup:
await ux_show_story('Saved backup to\n\n{}\n\nin /backups folder.'.format(base_filename),
title='Success', left_btn='NEXT', center=True, center_vertically=True)

3
ports/stm32/boards/Passport/modules/utils.py

@ -822,9 +822,6 @@ def format_btc_address(address, addr_type):
return '\n'.join([address[i:i+width] for i in range(0, len(address), width)])
def get_backups_folder_path(card):
# from common import settings
# xfp = xfp2str(settings.get('xfp', 0))
# return '{}/backups-{}'.format(card.get_sd_root(), xfp)
return '{}/backups'.format(card.get_sd_root())
# EOF

Loading…
Cancel
Save