Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 1 files
■ ■ ■ ■ ■ ■
Agartha.py
skipped 241 lines
242
242
return
243
243
244
244
def isValid(self):
245
-
# check if ' or " exist
246
245
# input should not be empty
247
246
# and input should contain at least one alphanumeric char
248
-
if(re.compile('[\'\"]').search(self._txtTargetPath.text)==None)and self._txtTargetPath.text.strip() and re.compile("[0-9a-zA-Z]").findall(self._txtTargetPath.text):
247
+
if self._txtTargetPath.text.strip() and re.compile("[0-9a-zA-Z]").findall(self._txtTargetPath.text):
249
248
# clear
250
249
return True
251
250
else:
skipped 412 lines
664
663
665
664
method = _req.splitlines()[0].split(" ", 1)[0]
666
665
667
-
if "]" in _req.splitlines()[-1] or "}" in _req.splitlines()[-1] or ">" in _req.splitlines()[-1]:
666
+
if "]" in _req.splitlines()[-1][-1:] or "}" in _req.splitlines()[-1][-1:] or ">" in _req.splitlines()[-1][-1:]: