Skip to content

Commit 2b02697

Browse files
authored
remove trailing whitespaces
1 parent 26e5293 commit 2b02697

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def main():
1212
parser = argparse.ArgumentParser(
1313
prog='script for rotate GitLab access tokens',
1414
description='script for rotate GitLab access tokens')
15-
15+
1616
parser.add_argument('--gitlab-url', required=True)
1717
parser.add_argument('--gitlab-token', required=True)
1818
parser.add_argument('--telegram-bot-token', required=True)
@@ -80,7 +80,7 @@ def send_to_telegram(telegram_bot_token: str, telegram_chat_id: str, telegram_me
8080
requests.post(send_url, json={'chat_id': telegram_chat_id, 'text': divided_telegram_message[1]}, timeout=10)
8181
else:
8282
requests.post(send_url, json={'chat_id': telegram_chat_id, 'text': telegram_message}, timeout=10)
83-
else:
83+
else:
8484
print('No token issues.')
8585

8686
def divide_telegram_message(telegram_message: str):

0 commit comments

Comments
 (0)