aboutsummaryrefslogtreecommitdiffstats
path: root/edaweb/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'edaweb/cache.py')
-rw-r--r--edaweb/cache.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/edaweb/cache.py b/edaweb/cache.py
index 5b66e43..8694666 100644
--- a/edaweb/cache.py
+++ b/edaweb/cache.py
@@ -1,5 +1,6 @@
import database
import services
+import json
def update_cache():
print("Updating cache...")
@@ -7,6 +8,7 @@ def update_cache():
db.update_commit_cache(services.request_recent_commits(since = db.get_last_commit_time()))
print("Finished adding github commits...")
db.append_qnas(services.scrape_whispa(db.config.get("qnas", "url"), since = db.get_oldest_qna()))
+ # print(json.dumps(services.scrape_whispa(db.config.get("qnas", "url"), since = db.get_oldest_qna()), indent = 4))
print("Finished parsing Q&As...")
print("Started getting docker information with SSH...")