aboutsummaryrefslogtreecommitdiffstats
path: root/grc/core/utils/extract_docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/utils/extract_docs.py')
-rw-r--r--grc/core/utils/extract_docs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/core/utils/extract_docs.py b/grc/core/utils/extract_docs.py
index 9daac3f36..606ec690f 100644
--- a/grc/core/utils/extract_docs.py
+++ b/grc/core/utils/extract_docs.py
@@ -198,7 +198,7 @@ class SubprocessLoader(object):
""" Receive response from worker's stdout """
for line in iter(self._worker.stdout.readline, ''):
try:
- key, cmd, args = json.loads(line.decode('utf-8'), encoding='utf-8')
+ key, cmd, args = json.loads(line.decode('utf-8'))
if key != self.AUTH_CODE:
raise ValueError('Got wrong auth code')
return cmd, args
@@ -268,7 +268,7 @@ def worker_main():
# flush out to signal the main process we are ready for new commands
sys.stdout.flush()
for line in iter(sys.stdin.readline, ''):
- code, cmd, args = json.loads(line, encoding='utf-8')
+ code, cmd, args = json.loads(line)
try:
if cmd == 'query':
key, imports, make = args