Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified code for google calendar integration #848

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed linting issues and import issues
X1Vi committed Jan 9, 2025
commit 29ac543c67462fbb0ea4a3a66ce63bc769d153d6
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -17,3 +17,4 @@ types-pytz
types-requests
gitlint>=0.13.0
-r ./zulip/integrations/bridge_with_matrix/requirements.txt
-r ./zulip/integrations/google/requirements.txt
3 changes: 2 additions & 1 deletion zulip/integrations/google/get-google-credentials
Original file line number Diff line number Diff line change
@@ -22,7 +22,6 @@ APPLICATION_NAME = "Zulip Calendar Bot"
HOME_DIR = os.path.expanduser("~")
CREDENTIALS_PATH = os.path.join(HOME_DIR, "google-credentials.json")


def get_credentials() -> Credentials:
"""Gets valid user credentials from storage.
@@ -58,5 +57,7 @@ def get_credentials() -> Credentials:

print("Storing credentials to " + CREDENTIALS_PATH)

return creds # Return the obtained credentials


get_credentials()