Przeglądaj źródła

Don't pass starttimestamp when None.

This sometimes happens when pages are edited without loading them beforehand.
tags/v0.2
Ben Kurtovic 9 lat temu
rodzic
commit
68e3ec2a73
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      earwigbot/wiki/page.py

+ 2
- 1
earwigbot/wiki/page.py Wyświetl plik

@@ -339,7 +339,8 @@ class Page(CopyvioMixIn):
params["bot"] = "true"

if not force:
params["starttimestamp"] = self._starttimestamp
if self._starttimestamp:
params["starttimestamp"] = self._starttimestamp
if self._basetimestamp:
params["basetimestamp"] = self._basetimestamp
if self._exists == self.PAGE_MISSING:


Ładowanie…
Anuluj
Zapisz