Skip to content

Commit

Permalink
Merge pull request #18 from bellingcat/dev
Browse files Browse the repository at this point in the history
Update octosuite.py
  • Loading branch information
rly0nheart authored Jun 5, 2023
2 parents 9d88b66 + 61c0b12 commit 1c85831
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions octosuite/octosuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
from requests.auth import HTTPBasicAuth
from octosuite.banner import version_tag, banner
from octosuite.config import Tree, Text, Table, Prompt, Confirm, Markdown, xprint, create_parser, setup_readline, args, red, white, green, yellow, header_title, reset
from octosuite.message_prefixes import ERROR, WARNING, PROMPT, POSITIVE, NEGATIVE, INFO # wondering why I name all the variables instead of just using the * wildcard?, because it's the pythonic way lol
# seriously now, the reason why I am doing this, is so that you know exactly what I am importing from a named module :)
from octosuite.message_prefixes import ERROR, WARNING, PROMPT, POSITIVE, NEGATIVE, INFO
from octosuite.helper import help_command, source_command, search_command, user_command, repo_command, \
logs_command, csv_command, org_command, source, org, repo, user, search, logs, csv
from octosuite.log_roller import ctrl_c, error, session_opened, session_closed, viewing_logs, viewing_csv, \
Expand Down Expand Up @@ -62,7 +61,7 @@ def check_updates():
else:
raw_release_notes = response['body']
markdown_release_notes = Markdown(raw_release_notes)
xprint(f"[{green}UPDATE{reset}] A new release of Octosuite is available ({response['tag_name']}). Run 'pip install --upgrade octosuite' to get the updates.\n")
xprint(f"[{green}UPDATE{reset}] A new release of Octosuite is available ({response['tag_name']}).\n")
xprint(markdown_release_notes)


Expand Down

0 comments on commit 1c85831

Please sign in to comment.