Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sercasti committed Oct 18, 2024
1 parent f4df1a0 commit 3099d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/googleanalytics/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def tracking_id():

def opendata_measurement_id():
# type: () -> str
return str(tk.config["googleanalytics.opendata_measurement_id"], '')
return str(tk.config.get("googleanalytics.opendata_measurement_id", ''))


def download_handler():
Expand Down

0 comments on commit 3099d0b

Please sign in to comment.