sticker-convert 2.10.3__py3-none-any.whl → 2.10.4__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
sticker_convert/gui.py CHANGED
@@ -209,8 +209,8 @@ class GUI(Window):
209
209
  )
210
210
 
211
211
  def is_cn(self) -> bool:
212
- cn_locs = ("zh_CHS", "zh_CN")
213
- loc = cast(str, locale.getdefaultlocale()[0])
212
+ cn_locs = ("zh_chs", "zh_cn", "chinese")
213
+ loc = locale.getlocale()[0]
214
214
  winloc = ""
215
215
  if platform.system() == "Windows":
216
216
  import ctypes
@@ -219,7 +219,9 @@ class GUI(Window):
219
219
  winloc_id = cast(int, windll.GetUserDefaultUILanguage()) # type: ignore
220
220
  winloc = cast(str, locale.windows_locale[winloc_id]) # type: ignore
221
221
 
222
- if loc.startswith(cn_locs) or winloc.startswith(cn_locs):
222
+ if loc is not None and (
223
+ loc.lower().startswith(cn_locs) or winloc.lower().startswith(cn_locs)
224
+ ):
223
225
  return True
224
226
  return False
225
227
 
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env python3
2
2
 
3
- __version__ = "2.10.3"
3
+ __version__ = "2.10.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sticker-convert
3
- Version: 2.10.3
3
+ Version: 2.10.4
4
4
  Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, Discord, iMessage. Written in Python.
5
5
  Author-email: laggykiller <chaudominic2@gmail.com>
6
6
  Maintainer-email: laggykiller <chaudominic2@gmail.com>
@@ -355,31 +355,30 @@ Classifier: Intended Audience :: End Users/Desktop
355
355
  Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
356
356
  Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
357
357
  Classifier: Programming Language :: Python :: 3
358
- Classifier: Programming Language :: Python :: 3.8
359
358
  Classifier: Programming Language :: Python :: 3.9
360
359
  Classifier: Programming Language :: Python :: 3.10
361
360
  Classifier: Programming Language :: Python :: 3.11
362
361
  Classifier: Programming Language :: Python :: 3.12
363
362
  Classifier: Programming Language :: Python :: 3 :: Only
364
- Requires-Python: >=3.8
363
+ Requires-Python: >=3.9
365
364
  Description-Content-Type: text/markdown
366
365
  License-File: LICENSE
367
366
  Requires-Dist: aiolimiter ~=1.1.0
368
- Requires-Dist: anyio ~=4.4.0
367
+ Requires-Dist: anyio ~=4.6.2.post1
369
368
  Requires-Dist: apngasm-python ~=1.3.1
370
- Requires-Dist: av ~=12.3.0
369
+ Requires-Dist: av ~=13.1.0
371
370
  Requires-Dist: beautifulsoup4 ~=4.12.3
372
- Requires-Dist: rookiepy ~=0.5.2
371
+ Requires-Dist: rookiepy ~=0.5.4
373
372
  Requires-Dist: httpx ~=0.27.2
374
373
  Requires-Dist: imagequant ~=1.1.1
375
374
  Requires-Dist: memory-tempfile ~=2.2.3
376
375
  Requires-Dist: mergedeep ~=1.3.4
377
376
  Requires-Dist: mini-racer ~=0.12.4
378
377
  Requires-Dist: numpy >=1.22.4
379
- Requires-Dist: Pillow ~=10.4.0
378
+ Requires-Dist: Pillow ~=11.0.0
380
379
  Requires-Dist: pyoxipng ~=9.0.0
381
- Requires-Dist: python-telegram-bot ~=21.5
382
- Requires-Dist: psutil ~=6.0.0
380
+ Requires-Dist: python-telegram-bot ~=21.6
381
+ Requires-Dist: psutil ~=6.1.0
383
382
  Requires-Dist: PyMemoryEditor ~=1.5.22
384
383
  Requires-Dist: requests ~=2.32.3
385
384
  Requires-Dist: rlottie-python ~=1.3.6
@@ -3,10 +3,10 @@ sticker_convert/__main__.py,sha256=elDCMvU27letiYs8jPUpxaCq5puURnvcDuqGsAAb6_w,5
3
3
  sticker_convert/cli.py,sha256=yI_56AfEi3Q2q8h1p8-l7wSK7wk3ktQNE_rwTAWwW1Q,20526
4
4
  sticker_convert/converter.py,sha256=ZppZcz6ZCmzx23RjtBWBQ3oLh2fTiPV1U3nEVWHt_xM,35947
5
5
  sticker_convert/definitions.py,sha256=ZhP2ALCEud-w9ZZD4c3TDG9eHGPZyaAL7zPUsJAbjtE,2073
6
- sticker_convert/gui.py,sha256=9nvxA56m4S_OapRXXJJ-lLR1Boj0s721zfZr51hclPY,33011
6
+ sticker_convert/gui.py,sha256=IsVCXr5_6mzBgIgXtUICI3fcKu51J9WaLE9MBLrm5t4,33064
7
7
  sticker_convert/job.py,sha256=ae0DKz74nctDLSI0VU7BYI4dx3kwTM8ynky_aLspQVU,26491
8
8
  sticker_convert/job_option.py,sha256=lhcyioT6qPHrNYRBTv5wxPmmY9RkATo1-DE7-lzCwp0,7887
9
- sticker_convert/version.py,sha256=9euJw4TloOUB-GV8lXF8DvHpUBDmFvNbEId1fEPNpWs,47
9
+ sticker_convert/version.py,sha256=9FHU3pAwrdUe2XxHBvtgK7odt3IaLrMg_IagpcWCNTY,47
10
10
  sticker_convert/downloaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  sticker_convert/downloaders/download_base.py,sha256=a34JcNBgZ5yf6gZnxc-B5uNaKVUG-vs3sjOJnLneWsw,4468
12
12
  sticker_convert/downloaders/download_discord.py,sha256=HeQFjJ7igb5KOk0aXQAUEuJ9OoPKyiE_mAD2_AW9PDw,3435
@@ -105,9 +105,9 @@ sticker_convert/utils/media/apple_png_normalize.py,sha256=LbrQhc7LlYX4I9ek4XJsZE
105
105
  sticker_convert/utils/media/codec_info.py,sha256=XoEWBfPWTzr4zSVQIU1XF1yh5viHxH5FytNEpdZR38c,14874
106
106
  sticker_convert/utils/media/decrypt_kakao.py,sha256=4wq9ZDRnFkx1WmFZnyEogBofiLGsWQM_X69HlA36578,1947
107
107
  sticker_convert/utils/media/format_verify.py,sha256=MH68GLJfXeL8WFT8emtj355K5BLAtUX64tQ59nugx2c,5673
108
- sticker_convert-2.10.3.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
109
- sticker_convert-2.10.3.dist-info/METADATA,sha256=cqSne7lAi53NRz4k6MzoVvaG52ETaPnGUcZy4M5ZTu8,52542
110
- sticker_convert-2.10.3.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
111
- sticker_convert-2.10.3.dist-info/entry_points.txt,sha256=MNJ7XyC--ugxi5jS1nzjDLGnxCyLuaGdsVLnJhDHCqs,66
112
- sticker_convert-2.10.3.dist-info/top_level.txt,sha256=r9vfnB0l1ZnH5pTH5RvkobnK3Ow9m0RsncaOMAtiAtk,16
113
- sticker_convert-2.10.3.dist-info/RECORD,,
108
+ sticker_convert-2.10.4.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
109
+ sticker_convert-2.10.4.dist-info/METADATA,sha256=hbfspaOo9jy4-xMUiGnaFiNfF1qaIrtlnxBDnG9Ru2Y,52498
110
+ sticker_convert-2.10.4.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
111
+ sticker_convert-2.10.4.dist-info/entry_points.txt,sha256=MNJ7XyC--ugxi5jS1nzjDLGnxCyLuaGdsVLnJhDHCqs,66
112
+ sticker_convert-2.10.4.dist-info/top_level.txt,sha256=r9vfnB0l1ZnH5pTH5RvkobnK3Ow9m0RsncaOMAtiAtk,16
113
+ sticker_convert-2.10.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.1.2)
2
+ Generator: setuptools (75.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5