tf2-sku-to-name 2.0.2__py3-none-any.whl → 2.0.3__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.
sku/__init__.py CHANGED
@@ -2,7 +2,7 @@ from sku.parser import Sku, get_schema
2
2
  from sku.models import itemClass
3
3
  from sku.schema import Schema
4
4
 
5
- __version__ = "2.0.2"
5
+ __version__ = "2.0.3"
6
6
  __all__ = ["Sku", "itemClass", "Schema", "get_schema", "update_schema"]
7
7
 
8
8
  # Main functions
sku/parser.py CHANGED
@@ -291,7 +291,7 @@ class Sku:
291
291
  if effect_lower == 'showstopper' and 'taunt: ' not in name_lower and 'shred alert' not in name_lower:
292
292
  continue
293
293
 
294
- if effect_lower == 'smoking' and name_lower in ['smoking jacket', 'the smoking skid lid'] or 'smoking skid lid' in name_lower:
294
+ if effect_lower == 'smoking' and ('smoking skid lid' in name_lower or name_lower in ['smoking jacket', 'the smoking skid lid']):
295
295
  if not name_lower.startswith('smoking smoking'):
296
296
  continue
297
297
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tf2-sku-to-name
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: A python library that parses TF2 item SKU to the item's name and vice versa.
5
5
  Home-page: https://github.com/purplebarber/tf2-sku
6
6
  Author: Purple Barber
@@ -0,0 +1,9 @@
1
+ sku/__init__.py,sha256=UNvpaq-vthdjcm7Y0HmCsS7lVQouaZeEek8zsoWQysg,377
2
+ sku/models.py,sha256=9jQimlGwJrJRmAY5o9PTKfdgp5kRajjMcH-Xp3GA35k,804
3
+ sku/parser.py,sha256=E_PhsjnBtouZ01uBLmY0Bnnjen2Xi0XBqez4rJsTHlc,24243
4
+ sku/schema.py,sha256=U_L-p4p7eJstR3lVKu6Bca6vxEZXbA0wBpEt9c5nXtE,25254
5
+ tf2_sku_to_name-2.0.3.dist-info/licenses/LICENSE,sha256=oZXGpA1oKt4L1lkrblMbut3_ClR3etussSbI0pBkL38,1070
6
+ tf2_sku_to_name-2.0.3.dist-info/METADATA,sha256=bAaV5PzkkB5TRjqa74LdiqcHxIzzXZyuNHly4CEqrzw,2723
7
+ tf2_sku_to_name-2.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tf2_sku_to_name-2.0.3.dist-info/top_level.txt,sha256=2ekTXVLQ1fHUW3ge6PK7EaoEwkUy0tnsaDvoNkPXfNw,4
9
+ tf2_sku_to_name-2.0.3.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- sku/__init__.py,sha256=k1itDEvvourNzn06rF2N7_83Nqokp5eG6KfVcevztIM,377
2
- sku/models.py,sha256=9jQimlGwJrJRmAY5o9PTKfdgp5kRajjMcH-Xp3GA35k,804
3
- sku/parser.py,sha256=CMDQ-pWVk59Pvzx7QdiPKOXjUdCfaA3POFmStP3LSTg,24241
4
- sku/schema.py,sha256=U_L-p4p7eJstR3lVKu6Bca6vxEZXbA0wBpEt9c5nXtE,25254
5
- tf2_sku_to_name-2.0.2.dist-info/licenses/LICENSE,sha256=oZXGpA1oKt4L1lkrblMbut3_ClR3etussSbI0pBkL38,1070
6
- tf2_sku_to_name-2.0.2.dist-info/METADATA,sha256=Wh63cL7ZKtR8KIH3khV6SnKIObZe5puwh3ECqj5bjFE,2723
7
- tf2_sku_to_name-2.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tf2_sku_to_name-2.0.2.dist-info/top_level.txt,sha256=2ekTXVLQ1fHUW3ge6PK7EaoEwkUy0tnsaDvoNkPXfNw,4
9
- tf2_sku_to_name-2.0.2.dist-info/RECORD,,