Skip to content
This repository was archived by the owner on Apr 13, 2018. It is now read-only.

Commit 5c253bf

Browse files
committed
flake8 格式修复
1 parent 8191cd6 commit 5c253bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/app_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def getTimezone(profile):
129129
"""
130130
try:
131131
return timezone(profile['timezone'])
132-
except Exception, e:
132+
except Exception:
133133
return None
134134

135135

client/stt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def __init__(self, vocabulary, hmm_dir="/usr/local/share/" +
100100
# quirky bug where first import doesn't work
101101
try:
102102
import pocketsphinx as ps
103-
except Exception, e:
103+
except Exception:
104104
import pocketsphinx as ps
105105

106106
with tempfile.NamedTemporaryFile(prefix='psdecoder_',

0 commit comments

Comments
 (0)