Browse Source

Fix a blocking issue.

tags/v0.2
Ben Kurtovic 10 years ago
parent
commit
2fa8aeba5b
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      earwigbot/wiki/copyvios/workers.py

+ 1
- 2
earwigbot/wiki/copyvios/workers.py View File

@@ -255,8 +255,7 @@ class _CopyvioWorker(object):
self._logger.debug("Exiting: got stop signal") self._logger.debug("Exiting: got stop signal")
return return
text = self._open_url(source) text = self._open_url(source)
if text:
source.workspace.compare(source, MarkovChain(text))
source.workspace.compare(source, MarkovChain(text or ""))




class CopyvioWorkspace(object): class CopyvioWorkspace(object):


Loading…
Cancel
Save