telegram_libs 0.1.0__py3-none-any.whl → 0.1.1__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.

Potentially problematic release.


This version of telegram_libs might be problematic. Click here for more details.

@@ -3,7 +3,9 @@ import os
3
3
 
4
4
  def load_translations():
5
5
  translations = {}
6
- locales_dir = os.path.join(os.path.dirname(__file__), 'locales')
6
+ # Assume 'locales' is at the project root
7
+ project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
8
+ locales_dir = os.path.join(project_root, 'locales')
7
9
 
8
10
  for filename in os.listdir(locales_dir):
9
11
  if filename.endswith('.json'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: telegram_libs
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Common libraries for Telegram bots
5
5
  Author: Andrey Gritsaenko gricaenko.95a@gmail.com
6
6
  Requires-Python: >=3.11,<4.0
@@ -0,0 +1,5 @@
1
+ telegram_libs/__init__.py,sha256=DA8kwbn0D6y5hd3skhhP_mQJg54ar3iK-b3c5SAfE4o,82
2
+ telegram_libs/translation.py,sha256=IKr0P0w8s9GOYxC85XBqNZzTVj9j3IBPYydIDpfGdKE,1133
3
+ telegram_libs-0.1.1.dist-info/METADATA,sha256=Ti4SVa17ll_IbpVN9PYmsitc_uvLMVD6MLC-0pKNMok,594
4
+ telegram_libs-0.1.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
5
+ telegram_libs-0.1.1.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- telegram_libs/__init__.py,sha256=DA8kwbn0D6y5hd3skhhP_mQJg54ar3iK-b3c5SAfE4o,82
2
- telegram_libs/translation.py,sha256=C9rbzNy2tJKxKrMqS06v_Rv0BgJxYgBTIe2rjcN8_hY,1012
3
- telegram_libs-0.1.0.dist-info/METADATA,sha256=WcVDVB7yPL2yW2SQuzsbD_3I-dCtOM5j7N7RFKLbN-I,594
4
- telegram_libs-0.1.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
5
- telegram_libs-0.1.0.dist-info/RECORD,,