Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/chkmetalink.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import time
import yaml

default_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "www"))
default_path = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))

parser = argparse.ArgumentParser()
parser.add_argument("-q", "--quiet", help="hide status messages", default=True, dest='verbose', action="store_false")
Expand All @@ -29,7 +29,7 @@
if args.verbose:
sys.stdout.write("INFO: meta link check starting at %s\n" % datetime.datetime.fromtimestamp(time.time()).strftime('%Y-%m-%d %H:%M:%S'))

sm_file = os.path.join(args.directory, "_data", "socialmedia.yaml")
sm_file = os.path.join(args.directory, "src", "data", "socialmedia.yaml")
if not os.path.exists(sm_file):
sys.stdout.write("ERROR: unable to find %s\n" % sm_file)
sys.exit(1)
Expand Down