Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(frontend): fix request_id zero is none
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Aug 23, 2019
1 parent 4fba8f9 commit 0e88b77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnes/client/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ def update(self):

def __enter__(self):
self.start_time = time.perf_counter()
self.num_batch = 0
self.num_batch = -1
sys.stdout.write('\n')
self.update()
return self

def __exit__(self, exc_type, exc_val, exc_tb):
Expand Down

0 comments on commit 0e88b77

Please sign in to comment.