Skip to content

Commit

Permalink
Fixed small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
idomic committed Feb 16, 2022
1 parent 86ad718 commit 315f0da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/ploomber/cli/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,7 @@ def _next_steps(cmdr, cmd_activate, start_time):
total_runtime=str(end_time - start_time))

cmdr.success('Next steps')
cmdr.print((f'$ {cmd_activate}\n'
'$ ploomber build'))
cmdr.print((f'$ {cmd_activate}\n' '$ ploomber build'))
cmdr.success()


Expand Down
3 changes: 2 additions & 1 deletion src/ploomber/telemetry/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,10 @@ def check_version():
# Update version conf if not there
if not version_path.exists():
version = {'last_version_check': today}
write_conf_file(version_path, version)
else:
version = read_conf_file(version_path)
if 'last_version_check' not in version.keys():
version = {'last_version_check': today}

# Check if the flag was disabled
if conf and 'version_check_enabled' in conf.keys() \
Expand Down

0 comments on commit 315f0da

Please sign in to comment.