nsarchive 1.2.0__py3-none-any.whl → 1.2.2__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.
nsarchive/__init__.py CHANGED
@@ -129,7 +129,7 @@ class EntityInstance:
129
129
  'permissions': member.permissions.__dict__.copy()
130
130
  }
131
131
 
132
- _data['members'] += _member
132
+ _data['members'] += [_member]
133
133
 
134
134
  self.avatars.put(name = entity.id, data = entity.avatar)
135
135
  elif type(entity) == User:
nsarchive/cls/base.py CHANGED
@@ -18,7 +18,7 @@ class NSID(str):
18
18
  elif type(value) in (str, NSID):
19
19
  value = hex(int(value, 16))
20
20
  else:
21
- return TypeError(f"<{value}> is not NSID serializable")
21
+ raise TypeError(f"<{value}> is not NSID serializable")
22
22
 
23
23
  if value.startswith("0x"):
24
24
  value = value[2:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nsarchive
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary:
5
5
  License: GPL-3.0
6
6
  Author: happex
@@ -1,13 +1,13 @@
1
- nsarchive/__init__.py,sha256=WaRNIlNiko1r3IuJtGmVKcWWKsW0CeqhIdnoHkIU474,25209
1
+ nsarchive/__init__.py,sha256=PKkuM-tow8WrT4zig8_8ikcpCW4RvBE7BwF2ZzPXx3k,25211
2
2
  nsarchive/assets/default_avatar.png,sha256=n-4vG_WPke8LvbY3ZU6oA-H-OtRoIu7woKnRq9DCIlI,51764
3
3
  nsarchive/cls/archives.py,sha256=Nmt3C0Zq9oGQdCXSzm_wo70VbNq89SY3dx9KKqEpoCg,2182
4
- nsarchive/cls/base.py,sha256=z7NTvrtbeaUF1T_o-J7PL2N8axkmJek9EoKcQ8fTF9I,715
4
+ nsarchive/cls/base.py,sha256=DGDm0uD96M00-qvdKsltU9kAfAOBr85Ov0b18gTnoIM,714
5
5
  nsarchive/cls/economy.py,sha256=RjFu3VzNunazslbd4Ia5p1Jr-jJP5CvIcbVOzkDTwTU,549
6
6
  nsarchive/cls/entities.py,sha256=LcL0Ky19lqYQdnYqtF_84-CdlVS1sie05l8vV2yJLyw,6010
7
7
  nsarchive/cls/exceptions.py,sha256=QN6Qn7cxTkGoC4lO50hBAq4gZCgo7scQvCkb-xKl6Xs,692
8
8
  nsarchive/cls/republic.py,sha256=6eut6OsFoOm9TVhA41fM3NlMEA3Uhg9TCuXgl46vFko,1985
9
9
  nsarchive/utils/assets.py,sha256=hd0STSpa0yT-OJlUyI_wCYXJqcBiUMQds2pZTXNNg9c,382
10
- nsarchive-1.2.0.dist-info/LICENSE,sha256=aFLFZg6LEJFpTlNQ8su3__jw4GfV-xWBmC1cePkKZVw,35802
11
- nsarchive-1.2.0.dist-info/METADATA,sha256=UYjUtZxdeV0JBDH6wFFSUm8IhiXgPopShAoPDQKP_qI,5629
12
- nsarchive-1.2.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
13
- nsarchive-1.2.0.dist-info/RECORD,,
10
+ nsarchive-1.2.2.dist-info/LICENSE,sha256=aFLFZg6LEJFpTlNQ8su3__jw4GfV-xWBmC1cePkKZVw,35802
11
+ nsarchive-1.2.2.dist-info/METADATA,sha256=-67Gdxg5XgVsF2G8TQnurJk7PPBRNWA4jqDguzrseI4,5629
12
+ nsarchive-1.2.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
13
+ nsarchive-1.2.2.dist-info/RECORD,,