Skip to content

Commit

Permalink
Hotfix - hopefully fixed accessing config files
Browse files Browse the repository at this point in the history
There was a problem on a macOS system - hopefully this fixes it.
  • Loading branch information
Pseudonium authored Sep 2, 2020
1 parent df3abb0 commit 38c3d39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion obsidian_to_anki.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ def parse(self):
class Config:
"""Deals with saving and loading the configuration file."""

CONFIG_PATH = os.path.dirname(__file__) + "/obsidian_to_anki_config.ini"
CONFIG_PATH = os.path.join(
os.path.dirname(__file__),
"obsidian_to_anki_config.ini"
)

def update_config():
"""Update config with new notes."""
Expand Down

0 comments on commit 38c3d39

Please sign in to comment.