Skip to content

Commit

Permalink
Resolve issue #227 - compare expects RDF only
Browse files Browse the repository at this point in the history
Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
  • Loading branch information
goneall committed Sep 7, 2020
1 parent 13e707b commit 45a731f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,8 @@ def compare(request):
uploaded_file_url = fs.url(filename).replace("%20", " ")
callfunc.append(settings.APP_DIR+uploaded_file_url)
try :
"""Call the java function to verify for valid RDF Files."""
retval = verifyclass.verifyRDFFile(settings.APP_DIR+uploaded_file_url)
"""Call the java function to verify for valid SPDX Files."""
retval = verifyclass.verify(settings.APP_DIR+uploaded_file_url)
if (len(retval) > 0):
"""If warnings raised"""
warningoccurred = True
Expand Down

0 comments on commit 45a731f

Please sign in to comment.