yeref 0.25.26__py3-none-any.whl → 0.25.27__py3-none-any.whl

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/yeref.py CHANGED
@@ -4020,7 +4020,7 @@ async def check_schema_exists(schema_name, db_pool):
4020
4020
  return result
4021
4021
 
4022
4022
 
4023
- async def not_del_if_payments(chat_id, status, BASE_P):
4023
+ async def not_del_if_payments(chat_id, status, MEDIA_D, BASE_P):
4024
4024
  try:
4025
4025
  sql = "SELECT USER_VARS, USER_LSTS FROM \"USER\" WHERE USER_TID=$1"
4026
4026
  data_users = await db_select_pg(sql, (chat_id,), BASE_P)
@@ -4045,6 +4045,8 @@ async def not_del_if_payments(chat_id, status, BASE_P):
4045
4045
  sql = "DELETE FROM \"USER\" WHERE USER_TID=$1"
4046
4046
  await db_change_pg(sql, (chat_id,), BASE_P)
4047
4047
  print("DELETE FROM \"USER\" WHERE USER_TID=$1")
4048
+
4049
+ shutil.rmtree(os.path.join(MEDIA_D, str(chat_id)))
4048
4050
  except Exception as e:
4049
4051
  logger.info(log_ % str(e))
4050
4052
  await asyncio.sleep(round(random.uniform(0, 1), 2))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.25.26
3
+ Version: 0.25.27
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -0,0 +1,8 @@
1
+ yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
2
+ yeref/l_.py,sha256=LsciHUN0b5NbsLsRRbG12blZGXVr_i4Fhj2aQItIZbI,1173447
3
+ yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
+ yeref/yeref.py,sha256=NALWROeiPWh88ViOJiX5celO5AOJ0TgE-SyBD5eD5CU,1024334
5
+ yeref-0.25.27.dist-info/METADATA,sha256=FN7tmzLTePBe89OSbMw5hB0hOG-n5tKNyzPuSNiPbEA,119
6
+ yeref-0.25.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ yeref-0.25.27.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
+ yeref-0.25.27.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
2
- yeref/l_.py,sha256=LsciHUN0b5NbsLsRRbG12blZGXVr_i4Fhj2aQItIZbI,1173447
3
- yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
- yeref/yeref.py,sha256=5zBKB6tuYTWiNR0Ig8T6aPcE2y8UwF8evLdJ61ikOUI,1024265
5
- yeref-0.25.26.dist-info/METADATA,sha256=TSBCijCgFKtFAyyU2Or6JwvW9x6Y_81dl-vsyD3VHDg,119
6
- yeref-0.25.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- yeref-0.25.26.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
- yeref-0.25.26.dist-info/RECORD,,