Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix print of syncing message #1912

Merged

Conversation

LefterisJP
Copy link
Contributor

@LefterisJP LefterisJP commented Jul 21, 2018

Fix #1911

@LefterisJP LefterisJP force-pushed the fix_print_of_syncing_message branch from f308910 to 554c5d5 Compare July 22, 2018 22:55
@@ -173,7 +173,7 @@ def wait_for_sync_etherscan(
) -> None:
local_block = blockchain_service.client.block_number()
etherscan_block = etherscan_query_with_retries(url, sleep)
syncing_str = 'Syncing ... Current: {} / Target: ~{}'
syncing_str = '\rSyncing ... Current: {} / Target: ~{}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to use carriage return, could you please remove the line which is printing the ansi codes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@LefterisJP LefterisJP merged commit 6646ce3 into raiden-network:master Jul 23, 2018
@LefterisJP LefterisJP deleted the fix_print_of_syncing_message branch July 23, 2018 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants