diff --git a/get_new_user.py b/get_new_user.py index a7d522b..16cd5f0 100644 --- a/get_new_user.py +++ b/get_new_user.py @@ -116,7 +116,7 @@ class InitFirstAD(): if data: pdb.set_trace() line = len(data) - nums = int(line * ratio) + nums = int(line * ratio / 100) if nums: return random.sample(data, nums) else: