Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
Removed named expression
Browse files Browse the repository at this point in the history
  • Loading branch information
dfirsec committed Jun 29, 2022
1 parent 8894f0c commit 7208b20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/vt_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def vt_connect(self, url):
def vt_run(self, scan_type, qry):
url = f"{self.base_url}/{scan_type}/{qry}"
data = json.dumps(self.vt_connect(url))
if json_resp := json.loads(data):
json_resp = json.loads(data)
if json_resp:
good = 0
bad = 0
try:
Expand Down

0 comments on commit 7208b20

Please sign in to comment.