2 Commits

Author SHA1 Message Date
Logan Williams
96047637cd Catch correct JSON error 2024-04-03 15:18:49 +02:00
Logan Williams
7c3a019e9c Increment version correctly 2024-04-03 13:40:07 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ def get_instagram_locations(lat, lng, cookie):
try:
locations = response.json()
except json.JSONDecodeError:
except json.decoder.JSONDecodeError:
print(f"Failed to get location data for {lat_long}: please check you have a valid cookie")
return []

View File

@@ -1,9 +1,9 @@
_MAJOR = "1"
_MINOR = "3"
_MINOR = "4"
# On main and in a nightly release the patch should be one ahead of the last
# released build.
_PATCH = "1"
_PATCH = "2"
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
# https://semver.org/#is-v123-a-semantic-version for the semantics.
_SUFFIX = ""