yeref 0.24.50__tar.gz → 0.24.51__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {yeref-0.24.50 → yeref-0.24.51}/PKG-INFO +1 -1
- {yeref-0.24.50 → yeref-0.24.51}/setup.py +1 -1
- {yeref-0.24.50 → yeref-0.24.51}/yeref/yeref.py +9 -9
- {yeref-0.24.50 → yeref-0.24.51}/yeref.egg-info/PKG-INFO +1 -1
- {yeref-0.24.50 → yeref-0.24.51}/pyproject.toml +0 -0
- {yeref-0.24.50 → yeref-0.24.51}/setup.cfg +0 -0
- {yeref-0.24.50 → yeref-0.24.51}/yeref/__init__.py +0 -0
- {yeref-0.24.50 → yeref-0.24.51}/yeref/l_.py +0 -0
- {yeref-0.24.50 → yeref-0.24.51}/yeref/tonweb.js +0 -0
- {yeref-0.24.50 → yeref-0.24.51}/yeref.egg-info/SOURCES.txt +0 -0
- {yeref-0.24.50 → yeref-0.24.51}/yeref.egg-info/dependency_links.txt +0 -0
- {yeref-0.24.50 → yeref-0.24.51}/yeref.egg-info/top_level.txt +0 -0
@@ -16174,19 +16174,19 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16174
16174
|
user_dau_dates.add(tx_date)
|
16175
16175
|
|
16176
16176
|
# платеж
|
16177
|
-
if user_mau
|
16177
|
+
if user_mau:
|
16178
16178
|
pay_month = random.choice(user_mau)
|
16179
16179
|
pay_day = random.randint(1, 28)
|
16180
16180
|
pay_date = f"{pay_month}-{pay_day:02}"
|
16181
16181
|
dt_pay = datetime.strptime(pay_date, "%Y-%m-%d")
|
16182
|
-
if dt_pay >= entry_dt_obj:
|
16183
|
-
|
16184
|
-
|
16185
|
-
|
16186
|
-
|
16187
|
-
|
16188
|
-
|
16189
|
-
|
16182
|
+
# if dt_pay >= entry_dt_obj:
|
16183
|
+
payments = [{
|
16184
|
+
"TYPE": random.choice(["don", "sub", "pst"]),
|
16185
|
+
"DT_START": f"{dt_pay.strftime('%d-%m-%Y')}_14-00-00",
|
16186
|
+
"DT_END": "0",
|
16187
|
+
"AMOUNT": str(random.randint(1, 10))
|
16188
|
+
}]
|
16189
|
+
user_dau_dates.add(pay_date)
|
16190
16190
|
|
16191
16191
|
# вход в приложение
|
16192
16192
|
user_dau_dates.add(entry_date)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|