remove version file from repository
I don't want to have to commit an ever changing version file.
This commit is contained in:
@@ -13,7 +13,8 @@ from src.ui.icon import Icon
|
||||
from pathlib import Path
|
||||
import os
|
||||
|
||||
__version__ = Path(os.path.dirname(os.path.realpath(__file__)) + os.sep + "version.txt").read_text()
|
||||
version_file = Path(os.path.dirname(os.path.realpath(__file__)) + os.sep + "version.txt")
|
||||
__version__ = version_file.read_text() if version_file.is_file() else "0.0.0"
|
||||
|
||||
gettext.install('krowlog', 'locale')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user