morelists 0.1.3__py3-none-any.whl → 0.1.4__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.
morelists/__init__.py CHANGED
@@ -156,6 +156,8 @@ class GameList():
156
156
 
157
157
  # update() ignore the reeze flag because it's assumed the user is calling it with the purpose of updating it manually
158
158
  try:
159
+ if len(self.expirationList.keys()) == 0:
160
+ return
159
161
  expiration = min(self.expirationList.keys())
160
162
  while expiration < time.time():
161
163
  if self.list[expiration]["type"] == "add":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: morelists
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: A small and easy list you can add together like a math equation and has a expiration date for items. Mostly useful for games with stats from multiple sources. More lists will come soon.
5
5
  Home-page: https://github.com/EmanuelNorsk/enlist
6
6
  Author: Emanuel Odén Hesselroth
@@ -0,0 +1,6 @@
1
+ morelists/__init__.py,sha256=xaG9UmUJZSJOXVVopdapxuVnoQMEodogsxL4CVGxUH0,17141
2
+ morelists-0.1.4.dist-info/licenses/LICENSE,sha256=-ASFHlrne1rk8zV57Qj01X2JB-D67ZHPMv1PtQhrbN8,32
3
+ morelists-0.1.4.dist-info/METADATA,sha256=esNBC76o8KCXTmn9vNKxcaGAGn1J9VNsPM9mbCwy74Q,681
4
+ morelists-0.1.4.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
5
+ morelists-0.1.4.dist-info/top_level.txt,sha256=Zd7NosYzor-RcH_aD86FXJa3fQzWunYA4_FQS3Yodqo,10
6
+ morelists-0.1.4.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- morelists/__init__.py,sha256=nnk03JRnoaIVtFaqlPhIZFiyLzW2fdKBkA1gAJsBjv8,17063
2
- morelists-0.1.3.dist-info/licenses/LICENSE,sha256=-ASFHlrne1rk8zV57Qj01X2JB-D67ZHPMv1PtQhrbN8,32
3
- morelists-0.1.3.dist-info/METADATA,sha256=AC3NZ-WtGgffMMiY7sk9ER9pxh8CVUGVq-Uj36yxgPA,681
4
- morelists-0.1.3.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
5
- morelists-0.1.3.dist-info/top_level.txt,sha256=Zd7NosYzor-RcH_aD86FXJa3fQzWunYA4_FQS3Yodqo,10
6
- morelists-0.1.3.dist-info/RECORD,,