Skip to content

Commit a573f57

Browse files
committed
bugfix
1 parent 52cc282 commit a573f57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sgdml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
# SOFTWARE.
2424

25-
__version__ = '0.5.0'
25+
__version__ = '0.5.1'
2626

2727
MAX_PRINT_WIDTH = 100
2828
LOG_LEVELNAME_WIDTH = 7 # do not modify

sgdml/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _print_splash(max_memory, max_processes, use_torch):
7979

8080
version_str = __version__
8181
version_str += (
82-
' ' + ui.yellow_back_str(' Latest: ' + latest_version + ' ')
82+
' ' + ui.color_str(' Latest: ' + latest_version + ' ', fore_color=ui.BLACK, back_color=ui.YELLOW, bold=True)
8383
if can_update
8484
else ''
8585
)
@@ -101,7 +101,7 @@ def _print_splash(max_memory, max_processes, use_torch):
101101
if can_update:
102102
print(
103103
'\n'
104-
+ ui.yellow_back_str(' UPDATE AVAILABLE ')
104+
+ ui.color_str(' UPDATE AVAILABLE ', fore_color=ui.BLACK, back_color=ui.YELLOW, bold=True)
105105
+ '\n'
106106
+ '-' * MAX_PRINT_WIDTH
107107
)

0 commit comments

Comments
 (0)