aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-01 16:31:16 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commitf20213ac7f9f37b0fed97e670db5de904efeb920 (patch)
treec70af3a9b0205ed4f19369f85ccd72092e155c7b
parentc9572f96f061a28b3c68f9572bd796ed560233aa (diff)
downloadgenenetwork2-f20213ac7f9f37b0fed97e670db5de904efeb920.tar.gz
Delete unused news module
* wqflask/wqflask/news.py: Delete it.
-rw-r--r--wqflask/wqflask/news.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/wqflask/wqflask/news.py b/wqflask/wqflask/news.py
deleted file mode 100644
index e262dd51..00000000
--- a/wqflask/wqflask/news.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from flask import g
-
-
-class News:
-
- def __init__(self):
- sql = """
- SELECT News.id, News.date, News.details
- FROM News
- order by News.date desc
- """
- self.title = "GeneNetwork News"
- self.newslist = g.db.execute(sql).fetchall()