Projects STRLCPY agartha Commits fddd82cb
🤬
  • ■ ■ ■ ■ ■
    Agartha.py
    skipped 123 lines
    124 124   return
    125 125  
    126 126   for _url in self._tbAuthURL.getText().split('\n'):
    127  - if not self.isURLValid(str(_url)) or _url.strip() == self._txtURLDefault:
     127 + _url = _url.strip()
     128 + if not self.isURLValid(str(_url)) or _url == self._txtURLDefault:
    128 129   self._tbAuthURL.setForeground (Color.red)
    129 130   self._lblAuthNotification.text = "Please check url list!"
    130 131   self._lblAuthNotification.setForeground (Color.red)
    skipped 605 lines
    736 737   if " " in urlAdd.strip():
    737 738   # check if space exists
    738 739   return False
    739  - elif urlAdd.startswith("http://") or urlAdd.startswith("https://"):
     740 + elif urlAdd.strip().startswith("http://") or urlAdd.startswith("https://"):
    740 741   # check if it starts with http
    741 742   return True
    742 743   elif not urlAdd:
    skipped 439 lines
Please wait...
Page is in error, reload to recover