aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-08-04 16:28:34 +0300
committerBonfaceKilz2021-08-04 16:33:06 +0300
commit457296f004e576a632d2e77c656d41d9ceed0c47 (patch)
tree0a0fc0ae8c36b214f997820e941a2d6d8591655a /wqflask
parenta24ea03594d6879adf92cd4db2b52108ddb352bd (diff)
downloadgenenetwork2-457296f004e576a632d2e77c656d41d9ceed0c47.tar.gz
wqflask: views: Remove unnecessary casting for "count"
Sometimes, the "count" value can be an "x", as opposed to an int. With the cast, an un-handled error could be thrown.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index fe81bb6c..76fe029f 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -1450,7 +1450,7 @@ def approve_data(name):
publish_data_id=int(PUBLISH_ID),
value=value,
error=se,
- count=int(count)
+ count=count
)
insert(conn,
table="metadata_audit",