Skip to content

Commit 5b9d912

Browse files
committed
Add param to customize the config file path
1 parent 5238987 commit 5b9d912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inoreader/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
})
7171

7272

73-
def get_client():
74-
config = InoreaderConfigManager(CONFIG_FILE)
73+
def get_client(config_file=CONFIG_FILE):
74+
config = InoreaderConfigManager(config_file)
7575
if not config.data:
7676
LOGGER.error("Please login first")
7777
sys.exit(1)

0 commit comments

Comments
 (0)