Skip to content

Commit 704fa28

Browse files
committed
Move script execution log to main function
1 parent f304aaa commit 704fa28

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/1-fetch/arxiv_fetch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,6 @@
269269
# Runtime variables
270270
QUARTER = os.path.basename(PATHS["data_quarter"])
271271

272-
# Log the start of the script execution
273-
LOGGER.info("Script execution started.")
274-
275272

276273
# parsing arguments function
277274
def parse_arguments():
@@ -630,6 +627,7 @@ def query_arxiv(args):
630627

631628
def main():
632629
"""Main function."""
630+
LOGGER.info("Script execution started.")
633631
args = parse_arguments()
634632
shared.paths_log(LOGGER, PATHS)
635633
shared.git_fetch_and_merge(args, PATHS["repo"])

0 commit comments

Comments
 (0)