Skip to content

Commit

Permalink
fixed checkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
cmlsharp committed Jul 31, 2017
1 parent 6acdeae commit 8520793
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions check50.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def main():
action="store_true",
help="run checks completely offline (implies --local)")
parser.add_argument("--checkdir",
action="store_const",
const="checkdir",
default="~/.local/share/check50",
action="store",
nargs="?",
const="~/.local/share/check50",
help="specify directory containing the checks "
"(~/.local/share/check50 by default)")
parser.add_argument("--log",
Expand Down Expand Up @@ -97,7 +97,7 @@ def main():
cprint("more info at: https://cs50.me/check50/results/{}/{}".format(username, commit_hash), "red", file=sys.stderr)
sys.exit(1)
pings += 1

# Query for check results.
res = requests.post("https://cs50.me/check50/status/{}/{}".format(username, commit_hash))
if res.status_code != 200:
Expand Down

0 comments on commit 8520793

Please sign in to comment.