Skip to content

Commit

Permalink
fix legacy logic
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Jun 6, 2024
1 parent 4eaec9e commit fddf2e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/sysmgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,8 @@ async def upgrade(self, ctx, plugin='system', *, args=''):
legacy['lower'] <= current['release'] <= legacy['upper'] and (
legacy['release'] > (
current['legacy'] if 'legacy' in current.keys() else -1
)
) or force
) or force
)
):
available.append([legacy['version'], 'Legacy version', legacy['release'], index, legacy['reboot']])
index += 1
Expand Down

0 comments on commit fddf2e3

Please sign in to comment.