From be2cc523c2b8bebdcf99db23793761d468c92281 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 29 Nov 2023 23:03:32 +0600 Subject: [PATCH] Fix skill level suffix --- .appveyor.yml | 3 +-- gui/characterEditor.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 256a2453b..75701a7e9 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -36,8 +36,7 @@ for: - sh: unlink AppDir/AppRun - sh: mkdir -p $DEPLOY_DIR # run install pyfa packages and any other requirements - - - sh: AppDir/usr/bin/python -s -m pip install -U pip setuptools wheel pathlib2 + - sh: AppDir/usr/bin/python -s -m pip install -U pip setuptools wheel - sh: AppDir/usr/bin/python -s -m pip install -r ../requirements.txt # Speedup, but causes runtime incompatiblities #- sh: AppDir/usr/bin/python -s -m pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 -r ../requirements.txt diff --git a/gui/characterEditor.py b/gui/characterEditor.py index 56b7aa844..44e6a2f03 100644 --- a/gui/characterEditor.py +++ b/gui/characterEditor.py @@ -533,7 +533,7 @@ class SkillTreeView(wx.Panel): iconId = self.skillBookDirtyImageId childId = tree.AppendItem(root, name, iconId, data=('skill', id)) - tree.SetItemText(childId, 1, _t("Level {}d").format(int(level)) if isinstance(level, float) else level) + tree.SetItemText(childId, 1, _t("Level {}").format(int(level)) if isinstance(level, float) else level) def populateSkillTree(self, event=None): sChar = Character.getInstance() @@ -591,7 +591,6 @@ class SkillTreeView(wx.Panel): iconId = self.skillBookDirtyImageId childId = tree.AppendItem(root, name, iconId, data=('skill', id)) - tree.SetItemText(childId, 1, _t("Level {}").format(int(level)) if isinstance(level, float) else level) def spawnMenu(self, event):