summaryrefslogtreecommitdiff
path: root/platform/android/scripts/validate-license.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/scripts/validate-license.py')
-rw-r--r--platform/android/scripts/validate-license.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/scripts/validate-license.py b/platform/android/scripts/validate-license.py
index 365d7ac265..1c9a153b82 100644
--- a/platform/android/scripts/validate-license.py
+++ b/platform/android/scripts/validate-license.py
@@ -10,7 +10,7 @@ call('cd ../../ && make android-license', shell=True)
## Git diff changes
p = Popen(['git', 'diff', '--name-only', 'LICENSE.md'], stdin=PIPE, stdout=PIPE, stderr=PIPE)
output, err = p.communicate(b"input data that is passed to subprocess' stdin")
-if "platform/android/LICENSE.md" in output:
+if b"platform/android/LICENSE.md" in output:
raise ValueError("""An error ocurred while validating the license generation.
Changes were detected to the license generation output
but weren't commited. Run make android-license and