Skip to content

Commit

Permalink
Disable "Bandit" issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Mar 23, 2019
1 parent 3635605 commit 4857576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colour_checker_detection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import cv2
import numpy as np
import os
import subprocess
import subprocess # nosec

import colour

Expand Down Expand Up @@ -53,7 +53,7 @@
__change_version__)) # yapf: disable

try:
version = subprocess.check_output(
version = subprocess.check_output( # nosec
['git', 'describe'], cwd=os.path.dirname(__file__)).strip()
version = version.decode('utf-8')
except Exception:
Expand Down

0 comments on commit 4857576

Please sign in to comment.