Skip to content

Commit 060ca4e

Browse files
authored
Merge pull request #18 from cczhong11/master
Add ability to set customized config file path
2 parents 4ef52a6 + e0c6d36 commit 060ca4e

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)