Skip to content

Commit

Permalink
Omitted condition added
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Emde authored and Carsten Emde committed Mar 26, 2024
1 parent 4bace05 commit 77d117a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SPDX2Disclosure.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def SPDX2Disclosure(filename, disclosurefile, licenselevel, encoding, shownumber
print('LicenseConcluded:', licenseconcluded)
else:
print('LicenseConcluded:')
if licenseconcluded.find(' OR ') > 0 or licenseconcluded.find(' AND '):
if licenseconcluded.find(' OR ') > 0 or licenseconcluded.find(' AND ') > 0:
print('Dual-licensing logic:', licenseconcluded)
for licensename in licensenotices:
if licensename != 'NOASSERTION':
Expand Down

0 comments on commit 77d117a

Please sign in to comment.