Print credits in the same line
This commit is contained in:
@@ -467,7 +467,7 @@ def downloadPost(SUBMISSION):
|
|||||||
|
|
||||||
if SUBMISSION['postType'] in downloaders:
|
if SUBMISSION['postType'] in downloaders:
|
||||||
|
|
||||||
print(SUBMISSION['postType'].upper())
|
print(SUBMISSION['postType'].upper(),end=" ")
|
||||||
|
|
||||||
if SUBMISSION['postType'] == "imgur":
|
if SUBMISSION['postType'] == "imgur":
|
||||||
|
|
||||||
@@ -484,11 +484,11 @@ def downloadPost(SUBMISSION):
|
|||||||
+ " Seconds")
|
+ " Seconds")
|
||||||
|
|
||||||
print(
|
print(
|
||||||
"Client: {} - User: {} - Reset {}".format(
|
"==> Client: {} - User: {} - Reset {}".format(
|
||||||
credit['ClientRemaining'],
|
credit['ClientRemaining'],
|
||||||
credit['UserRemaining'],
|
credit['UserRemaining'],
|
||||||
USER_RESET
|
USER_RESET
|
||||||
)
|
),end=""
|
||||||
)
|
)
|
||||||
|
|
||||||
if not (credit['UserRemaining'] == 0 or \
|
if not (credit['UserRemaining'] == 0 or \
|
||||||
@@ -509,6 +509,7 @@ def downloadPost(SUBMISSION):
|
|||||||
|
|
||||||
raise ImgurLimitError('{} LIMIT EXCEEDED\n'.format(KEYWORD.upper()))
|
raise ImgurLimitError('{} LIMIT EXCEEDED\n'.format(KEYWORD.upper()))
|
||||||
|
|
||||||
|
print()
|
||||||
downloaders[SUBMISSION['postType']] (directory,SUBMISSION)
|
downloaders[SUBMISSION['postType']] (directory,SUBMISSION)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user