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 1b30167 commit a6bb38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colour_demosaicing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

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 a6bb38d

Please sign in to comment.