Skip to content

Commit

Permalink
Merge pull request #12 from Trafire/bug/promail-7
Browse files Browse the repository at this point in the history
promail-7 Fix location of gmail credentials
  • Loading branch information
Trafire authored May 28, 2022
2 parents 34973e4 + 6545c14 commit 888d98f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tool.poetry]
name = "promail"
version = "0.4.2"
version = "0.4.3"
authors = ["Antoine Wood <[email protected]>"]
description = "The Python Email Automation Framework"
license = "GNU"
readme = "README.md"
homepage = "https://github.com/trafire/promail"
repository = "https://github.com/trafire/promail"
keywords = ["promail", "email", "automation"]
include = ["src/.credentials/gmail_credentials.json"]
include = ["src/promail/.credentials/gmail_credentials.json"]

[tool.poetry.dependencies]
python = "^3.8"
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions src/promail/clients/gmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,9 @@ def __init__(
"gmail",
f"{sanitized_account}.json",
)
print(self._token_path)
self.gmail_credentials: str = credentials or os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
"..",
".credentials",
"gmail_credentials.json",
)
Expand Down

0 comments on commit 888d98f

Please sign in to comment.