Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4f6821

Browse files
committed
Minor layout adjustment for --threads and --eta output
1 parent a63e251 commit f4f6821

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/core/option.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,6 @@ def __setConfAttributes():
874874
conf.parameters = {}
875875
conf.path = None
876876
conf.port = None
877-
conf.progressWidth = 54
878877
conf.redirectHandled = False
879878
conf.retriesCount = 0
880879
conf.scheme = None
@@ -887,6 +886,11 @@ def __setConfAttributes():
887886
conf.threadException = False
888887
conf.wFileType = None
889888

889+
if conf.eta:
890+
conf.progressWidth = 54
891+
else:
892+
conf.progressWidth = 34
893+
890894
def __setKnowledgeBaseAttributes():
891895
"""
892896
This function set some needed attributes into the knowledge base

0 commit comments

Comments
 (0)