Przeglądaj źródła

Pass parameter to recursive call.

tags/v0.2
Ben Kurtovic 9 lat temu
rodzic
commit
b87d5ac673
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      earwigbot/wiki/copyvios/exclusions.py

+ 1
- 1
earwigbot/wiki/copyvios/exclusions.py Wyświetl plik

@@ -155,7 +155,7 @@ class ExclusionsDB(object):
log = u"Database for {0} is still fresh (last updated {1} seconds ago)"
self._logger.debug(log.format(sitename, time_since_update))
if sitename != "all":
self.sync("all")
self.sync("all", force=force)

def check(self, sitename, url):
"""Check whether a given URL is in the exclusions database.


Ładowanie…
Anuluj
Zapisz