Skip to content

Commit

Permalink
Use json_out as supplied.
Browse files Browse the repository at this point in the history
  • Loading branch information
arash77 committed May 7, 2024
1 parent 2bc8409 commit 7b37bc3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/galaxy_social.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ def process_markdown_file(self, file_path, processed_files):
def process_files(self, files_to_process):
processed_files = {}
messages = "---\n"
processed_files_path = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "..", self.json_out
)
processed_files_path = self.json_out
if os.path.exists(processed_files_path):
with open(processed_files_path, "r") as file:
processed_files = json.load(file)
Expand Down

0 comments on commit 7b37bc3

Please sign in to comment.