Spaces:
Sleeping
Sleeping
william4416
commited on
Update uts_courses.json
Browse files- uts_courses.json +7 -1
uts_courses.json
CHANGED
@@ -11,4 +11,10 @@
|
|
11 |
"Built Environment": ["Urban Planning", "Construction Management", "Property Economics", "etc."],
|
12 |
"Creative Industries": ["Animation", "Photography", "Creative Writing", "Film and Television", "etc."]
|
13 |
}
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"Built Environment": ["Urban Planning", "Construction Management", "Property Economics", "etc."],
|
12 |
"Creative Industries": ["Animation", "Photography", "Creative Writing", "Film and Television", "etc."]
|
13 |
}
|
14 |
+
}
|
15 |
+
|
16 |
+
try:
|
17 |
+
with open("uts_courses.json", "r") as file:
|
18 |
+
courses_data = json.load(file)
|
19 |
+
except Exception as e:
|
20 |
+
print("An error occurred while loading JSON file:", e)
|