summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build_web_resources.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build_web_resources.py b/scripts/build_web_resources.py
index f90ce24..44a2073 100644
--- a/scripts/build_web_resources.py
+++ b/scripts/build_web_resources.py
@@ -54,6 +54,9 @@ problem_common_props = { # for common.py inside the problem subdirectory
languages = {} # programming languages, info from database
groups = {} # problem groups, info from database
+if not os.path.exists(output_path):
+ os.mkdir(output_path)
+
conn = db.get_connection()
cur = conn.cursor()