Skip to content

Commit

Permalink
fixed up pull request per feedback from developers
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkessel committed Aug 29, 2024
1 parent 3cc8f99 commit b1aa426
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions gcalcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
# Everything you need to know (Google API Calendar v3): http://goo.gl/HfTGQ #
# #
# ######################################################################### #
import truststore
truststore.inject_into_ssl()
from collections import namedtuple
import os
import signal
import sys
import truststore

from . import utils
from .argparsers import get_argument_parser, handle_unparsed
Expand Down Expand Up @@ -88,6 +87,8 @@ def run_add_prompt(parsed_args, printer):

def main():
parser = get_argument_parser()
# trust system certificate store for SSL verification
truststore.inject_into_ssl()
try:
argv = sys.argv[1:]
gcalclirc = os.path.expanduser('~/.gcalclirc')
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"truststore",
"python-dateutil",
"argcomplete",
"google-api-python-client>=1.4",
"httplib2",
"google_auth_oauthlib",
"httplib2",
"parsedatetime",
"argcomplete",
"python-dateutil",
"truststore",
# dev dependencies
"google-api-python-client-stubs",
"types-python-dateutil",
Expand Down

0 comments on commit b1aa426

Please sign in to comment.