Skip to content

Commit

Permalink
fixed #230
Browse files Browse the repository at this point in the history
  • Loading branch information
onqtam committed May 6, 2019
1 parent 0de307c commit 7435f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bench/bench.py
Expand Up @@ -5,7 +5,7 @@
if sys.version_info[0] < 3: raise Exception("Python 3 or a more recent version is required.")
import pprint
import argparse
import urllib
import urllib.request
from datetime import datetime
import shutil
from time import sleep
Expand Down Expand Up @@ -57,7 +57,7 @@ def runtime(args): args.compile = False; args.runtime = True

# get the catch header
if not os.path.exists("catch." + catch_ver + ".hpp"):
urllib.urlretrieve("https://github.com/catchorg/Catch2/releases/download/v" + catch_ver + "/catch.hpp", catch_header)
urllib.request.urlretrieve("https://github.com/catchorg/Catch2/releases/download/v" + catch_ver + "/catch.hpp", catch_header)

# folder with generated code
the_folder = 'project'
Expand Down

0 comments on commit 7435f4a

Please sign in to comment.