From fd6c80a23deef3b0b3ae50f004aa8e03c01749c8 Mon Sep 17 00:00:00 2001 From: Rantaharju Jarno Date: Tue, 5 Dec 2023 14:48:42 +0200 Subject: [PATCH] Add missing user parameter --- niimpy/reading/google_takeout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/niimpy/reading/google_takeout.py b/niimpy/reading/google_takeout.py index 6e0d5f36..a409bf94 100644 --- a/niimpy/reading/google_takeout.py +++ b/niimpy/reading/google_takeout.py @@ -137,7 +137,7 @@ def location_history( return data -def activity(zip_filename): +def activity(zip_filename, user=None): """ Read activity data from a Google Takeout zip file. Parameters @@ -196,5 +196,5 @@ def activity(zip_filename): if user is None: user = uuid.uuid1() data["user"] = user - + return data \ No newline at end of file