Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanch committed Jul 19, 2022
1 parent 52cc282 commit a573f57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sgdml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

__version__ = '0.5.0'
__version__ = '0.5.1'

MAX_PRINT_WIDTH = 100
LOG_LEVELNAME_WIDTH = 7 # do not modify
Expand Down
4 changes: 2 additions & 2 deletions sgdml/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _print_splash(max_memory, max_processes, use_torch):

version_str = __version__
version_str += (
' ' + ui.yellow_back_str(' Latest: ' + latest_version + ' ')
' ' + ui.color_str(' Latest: ' + latest_version + ' ', fore_color=ui.BLACK, back_color=ui.YELLOW, bold=True)
if can_update
else ''
)
Expand All @@ -101,7 +101,7 @@ def _print_splash(max_memory, max_processes, use_torch):
if can_update:
print(
'\n'
+ ui.yellow_back_str(' UPDATE AVAILABLE ')
+ ui.color_str(' UPDATE AVAILABLE ', fore_color=ui.BLACK, back_color=ui.YELLOW, bold=True)
+ '\n'
+ '-' * MAX_PRINT_WIDTH
)
Expand Down

0 comments on commit a573f57

Please sign in to comment.