diff --git a/CB/CurseForge.py b/CB/CurseForge.py index 1af16a4..a137380 100644 --- a/CB/CurseForge.py +++ b/CB/CurseForge.py @@ -28,7 +28,7 @@ def __init__(self, url, cache, allowdev): def get_current_version(self): files = sorted(self.payload['latestFiles'], key=itemgetter('id'), reverse=True) - for status in [[3, 2], [1]] if self.allowDev else [[1], [2], [3]]: + for status in [[3, 2, 1]] if self.allowDev else [[1], [2], [3]]: for f in files: if f['releaseType'] in status and '-nolib' not in f['displayName'] and not f['isAlternate']: self.downloadUrl = f['downloadUrl'] diff --git a/CB/__init__.py b/CB/__init__.py index 97fa5a7..2ce9df4 100644 --- a/CB/__init__.py +++ b/CB/__init__.py @@ -1,4 +1,4 @@ -__version__ = '1.5.3' +__version__ = '1.5.4' __license__ = 'GPLv3' __copyright__ = '2019, Paweł Jastrzębski ' __docformat__ = 'restructuredtext en'