URI: 
       tfix more DeprecationWarnings - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 441da52b513cb3f2470ac35978b16eefdf1d07de
   DIR parent 5b6357d47285514827615ffcc7da4356ef0eca15
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Wed, 27 Mar 2019 19:27:45 +0100
       
       fix more DeprecationWarnings
       
       Diffstat:
         M electrum/gui/qt/console.py          |       3 ++-
         M electrum/gui/qt/paytoedit.py        |       2 +-
       
       2 files changed, 3 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py
       t@@ -304,7 +304,8 @@ class Console(QtWidgets.QPlainTextEdit):
        
            def completions(self):
                cmd = self.getCommand()
       -        lastword = re.split(' |\(|\)',cmd)[-1]
       +        # note for regex: new words start after ' ' or '(' or ')'
       +        lastword = re.split(r'[ ()]', cmd)[-1]
                beginning = cmd[0:-len(lastword)]
        
                path = lastword.split('.')
   DIR diff --git a/electrum/gui/qt/paytoedit.py b/electrum/gui/qt/paytoedit.py
       t@@ -37,7 +37,7 @@ from .qrtextedit import ScanQRTextEdit
        from .completion_text_edit import CompletionTextEdit
        from . import util
        
       -RE_ALIAS = '(.*?)\s*\<([0-9A-Za-z]{1,})\>'
       +RE_ALIAS = r'(.*?)\s*\<([0-9A-Za-z]{1,})\>'
        
        frozen_style = "QWidget { background-color:none; border:none;}"
        normal_style = "QPlainTextEdit { }"