Skip to content

Commit

Permalink
fixes #110
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Oct 24, 2024
1 parent fede85a commit 79efa7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wikibot3rd/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.13.4"
__version__ = "0.13.5"
3 changes: 3 additions & 0 deletions wikibot3rd/wikipush.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ def query(
Returns:
list: a list of pageTitles matching the given askQuery
"""
# no wiki no pages e.g. if wikirestore is used without a -s option
if wiki is None:
return []
pageRecords = self.queryPages(
askQuery, wiki, limit, showProgress, queryDivision
)
Expand Down

0 comments on commit 79efa7d

Please sign in to comment.