Skip to content

Commit

Permalink
TOOLS: supply default for api_key of loadGeoPossibilities
Browse files Browse the repository at this point in the history
to make it work with add_auto_libraries.py and geoloc.py too where
it is imported from add_library.py.
  • Loading branch information
StefRe authored and johan12345 committed Jan 4, 2021
1 parent 3fea7fc commit c24f935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/add_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def getInput(required=False, default=None):
return inp


def loadGeoPossibilities(data, api_key):
def loadGeoPossibilities(data, api_key=None):
possibilities = []

if api_key:
Expand Down

0 comments on commit c24f935

Please sign in to comment.