Skip to content

Commit

Permalink
Add missing user parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rantahar committed Dec 5, 2023
1 parent e370206 commit fd6c80a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions niimpy/reading/google_takeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -196,5 +196,5 @@ def activity(zip_filename):
if user is None:
user = uuid.uuid1()
data["user"] = user

return data

0 comments on commit fd6c80a

Please sign in to comment.