Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
OS-agnostic path building
Browse files Browse the repository at this point in the history
  • Loading branch information
dlo9 committed Jul 31, 2019
1 parent c73f538 commit 6e7481c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Pocket.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ from calibre.constants import config_dir
from calibre.utils.config import JSONConfig
from calibre.web.feeds.news import BasicNewsRecipe
from collections import namedtuple
from os import path
from time import localtime, strftime, time

import errno
Expand All @@ -20,7 +21,7 @@ __license__ = 'GPL v3'
__copyright__ = '2019, David Orchard'

class PocketConfig:
__file_path = config_dir + '/custom_recipes/Pocket.json'
__file_path = path.join(config_dir, 'custom_recipes', 'Pocket.json')

class AuthState:
FirstRun = 1
Expand Down

0 comments on commit 6e7481c

Please sign in to comment.