diff --git a/re.py b/re.py index 2b358f8..071dbe1 100644 --- a/re.py +++ b/re.py @@ -51,11 +51,11 @@ class Engine: def __init__(self): pass - def _shift_clips(clips): + def _shift_clips(self, clips): index = random.randrange(len(clips)) return clips[index:] + clips[:index - 1] - def get_videos(user): + def get_videos(self, user): products = [] for event in user['events']: if 'product' in event['data']: