Ben Kurtovic 3 anni fa
parent
commit
c829590bc9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      copyvios/checker.py

+ 1
- 1
copyvios/checker.py Vedi File

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

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


Caricamento…
Annulla
Salva