Quellcode durchsuchen

Convert Wikicode objects correctly.

pull/15/head
Ben Kurtovic vor 11 Jahren
Ursprung
Commit
9afbf21939
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. +2
    -1
      tasks/afc_statistics.py

+ 2
- 1
tasks/afc_statistics.py Datei anzeigen

@@ -644,7 +644,8 @@ class AFCStatistics(Task):
if tmpl.name.strip().lower() == "afc submission":
if all([tmpl.has(par, ignore_empty=True) for par in params]):
if status in statuses:
submits.append([tmpl.get(par).value for par in params])
data = [unicode(tmpl.get(par).value) for par in params]
submits.append(data)
if not submits:
return None
latest = max(submits, key=lambda pair: pair[1])


Laden…
Abbrechen
Speichern