Skip to content

Commit

Permalink
fix(autofc2): load config from args
Browse files Browse the repository at this point in the history
  • Loading branch information
hizkifw committed Jan 18, 2022
1 parent 57c1303 commit 5bd0993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fc2_live_dl/autofc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, args):

def get_config(self):
try:
with open("autofc2.json", "r") as f:
with open(self.args["config"], "r") as f:
self.last_valid_config = json.load(f)
except Exception as ex:
if self.last_valid_config is None:
Expand Down

0 comments on commit 5bd0993

Please sign in to comment.