parameters: (self)
docstring: Prompts the user with a window asking for wallet path and recovery mode.
        Proceeds to Recover the wallet. Prompt for password if the wallet is locked
docstring_summary: Prompts the user with a window asking for wallet path and recovery mode.
        Proceeds to Recover the wallet. Prompt for password if the wallet is locked
docstring_tokens: Prompts the user with a window asking for wallet path and recovery mode . Proceeds to Recover the wallet . Prompt for password if the wallet is locked
function: def promptWalletRecovery(self):
        """
        Prompts the user with a window asking for wallet path and recovery mode.
        Proceeds to Recover the wallet. Prompt for password if the wallet is locked
        """
        if self.exec_():
           path = str(self.edtWalletPath.text())
           mode = RECOVERMODE.Bare
           if self.rdbtnStripped.isChecked():
              mode = RECOVERMODE.Stripped
           elif self.rdbtnFull.isChecked():
              mode = RECOVERMODE.Full
           elif self.rdbtnCheck.isChecked():
              mode = RECOVERMODE.Check
  
           if mode==RECOVERMODE.Full and self.selectedWltID:
              # Funnel all standard, full recovery operations through the 
              # inconsistent-wallet-dialog.  
              wlt = self.main.walletMap[self.selectedWltID]
              dlgRecoveryUI = DlgCorruptWallet(wlt, [], self.main, self, False)
              dlgRecoveryUI.exec_(dlgRecoveryUI.doFixWallets())
           else:
              # This is goatpig's original behavior - preserved for any 
              # non-loaded wallets or non-full recovery operations.
              if self.selectedWltID:
                 wlt = self.main.walletMap[self.selectedWltID]
              else:
                 wlt = path
              
              dlgRecoveryUI = DlgCorruptWallet(wlt, [], self.main, self, False)
              dlgRecoveryUI.exec_(dlgRecoveryUI.ProcessWallet(mode))
        else:
           return False
function_tokens: def promptWalletRecovery ( self ) : if self . exec_ ( ) : path = str ( self . edtWalletPath . text ( ) ) mode = RECOVERMODE . Bare if self . rdbtnStripped . isChecked ( ) : mode = RECOVERMODE . Stripped elif self . rdbtnFull . isChecked ( ) : mode = RECOVERMODE . Full elif self . rdbtnCheck . isChecked ( ) : mode = RECOVERMODE . Check if mode == RECOVERMODE . Full and self . selectedWltID : # Funnel all standard, full recovery operations through the  # inconsistent-wallet-dialog.   wlt = self . main . walletMap [ self . selectedWltID ] dlgRecoveryUI = DlgCorruptWallet ( wlt , [ ] , self . main , self , False ) dlgRecoveryUI . exec_ ( dlgRecoveryUI . doFixWallets ( ) ) else : # This is goatpig's original behavior - preserved for any  # non-loaded wallets or non-full recovery operations. if self . selectedWltID : wlt = self . main . walletMap [ self . selectedWltID ] else : wlt = path dlgRecoveryUI = DlgCorruptWallet ( wlt , [ ] , self . main , self , False ) dlgRecoveryUI . exec_ ( dlgRecoveryUI . ProcessWallet ( mode ) ) else : return False