Browse Source

Missed a line.

tags/v0.2
Ben Kurtovic 11 years ago
parent
commit
0d4a09902f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/wiki/page.py

+ 1
- 1
earwigbot/wiki/page.py View File

@@ -384,7 +384,7 @@ class Page(CopyvioMixIn):
except exceptions.APIError as error:
if not hasattr(error, "code"):
raise # We can only handle errors with a code attribute
result = self._handle_edit_errors(error, params, retry=False)
return self._handle_edit_errors(error, params, retry=False)
elif error.code in ["emptypage", "emptynewsection"]:
raise exceptions.NoContentError(error.info)
elif error.code == "contenttoobig":


Loading…
Cancel
Save