Skip to content

Commit

Permalink
show version number in loading message
Browse files Browse the repository at this point in the history
  • Loading branch information
knipknap committed Aug 27, 2023
1 parent fc0cdcc commit 481dfd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions btl/ui/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import FreeCAD, FreeCADGui
from PySide import QtGui
from PySide.QtCore import QT_TRANSLATE_NOOP
from .. import ToolDB, serializers
from .. import ToolDB, serializers, __version__
from ..const import icon_dir, translations_dir
from .library import LibraryUI

Expand Down Expand Up @@ -71,7 +71,7 @@ def on_workbench_activated(workbench):
from Path.Tool.Gui import BitLibrary
BitLibrary.ToolBitLibrary = BitLibraryReplacer

print('Better Tool Library loaded successfully.')
print(f'Better Tool Library {__version__} loaded successfully.')

FreeCADGui.addCommand("Path_ToolBitLibraryOpen", OpenBTL())
FreeCADGui.getMainWindow().workbenchActivated.connect(on_workbench_activated)

0 comments on commit 481dfd7

Please sign in to comment.