diff --git a/instagrapi/mixins/auth.py b/instagrapi/mixins/auth.py index a416ae0c..cbe7c1a8 100644 --- a/instagrapi/mixins/auth.py +++ b/instagrapi/mixins/auth.py @@ -297,7 +297,7 @@ def init(self) -> bool: # c7aeefd59aab78fc0a703ea060ffb631e005e2b3948efb9d73ee6a346c446bf3 self.bloks_versioning_id = "ce555e5500576acd8e84a66018f54a05720f2dce29f0bb5a1f97f0c10d6fac48" # this param is constant and will change by Instagram app version self.set_user_agent(self.settings.get("user_agent")) - self.set_uuids(self.settings.get("uuids", {})) + self.set_uuids(self.settings.get("uuids") or {}) self.set_locale(self.settings.get("locale", self.locale)) self.set_country(self.settings.get("country", self.country)) self.set_country_code(self.settings.get("country_code", self.country_code))