Skip to content

Commit

Permalink
Fixed inverted test
Browse files Browse the repository at this point in the history
  • Loading branch information
ysavary committed Jul 13, 2024
1 parent f1be51a commit 002ae8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winds_mobi_provider/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def google_api_cache_duration(self):
return (60 + randint(-5, 5)) * 24 * 3600

def __init__(self):
if None not in (self.provider_code, self.provider_name, self.provider_url):
if None in (self.provider_code, self.provider_name, self.provider_url):
raise ProviderException("Missing provider_code, provider_name or provider_url")
self.mongo_db = MongoClient(MONGODB_URL).get_database()
self.__stations_collection = self.mongo_db.stations
Expand Down

0 comments on commit 002ae8c

Please sign in to comment.