Browse Source

Bugfix

copyvios-ng
Ben Kurtovic 3 years ago
parent
commit
c829590bc9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      copyvios/checker.py

+ 1
- 1
copyvios/checker.py View File

@@ -38,7 +38,7 @@ def do_check(query=None):
query.oldid = query.oldid.strip().lstrip("0") query.oldid = query.oldid.strip().lstrip("0")
if not re.match(r"^\d+$", query.oldid): if not re.match(r"^\d+$", query.oldid):
query.error = "bad oldid" query.error = "bad oldid"
return
return query


query.submitted = query.project and query.lang and (query.title or query.oldid) query.submitted = query.project and query.lang and (query.title or query.oldid)
if query.submitted: if query.submitted:


Loading…
Cancel
Save