Sfoglia il codice sorgente

Handle empty URLs better.

tags/v0.2
Ben Kurtovic 10 anni fa
parent
commit
0438766ee4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      earwigbot/wiki/copyvios/workers.py

+ 1
- 1
earwigbot/wiki/copyvios/workers.py Vedi File

@@ -354,7 +354,7 @@ class CopyvioWorkspace(object):
with self._queues.lock:
if self._is_finished:
break
if url in self._handled_urls:
if not url or url in self._handled_urls:
continue
self._handled_urls.append(url)
if exclude_check and exclude_check(url):


Caricamento…
Annulla
Salva