Skip to content

Commit

Permalink
omg flake you are such a pedant
Browse files Browse the repository at this point in the history
  • Loading branch information
unhammer committed Oct 24, 2020
1 parent 1ed424a commit d5502d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apertium_apy/handlers/stats.py
Expand Up @@ -8,7 +8,7 @@
class StatsHandler(BaseHandler):
@tornado.gen.coroutine
def get(self):
num_requests_arg = self.get_argument('requests', default="1000")
num_requests_arg = self.get_argument('requests', default='1000')
try:
num_requests = int(num_requests_arg)
except ValueError:
Expand Down
2 changes: 1 addition & 1 deletion apertium_apy/handlers/translate_raw.py
Expand Up @@ -23,7 +23,7 @@ def get(self):
len(self.get_argument('q', strip=False)))
if pair is not None:
pipeline = self.get_pipeline(pair)
deformat = self.get_argument('deformat', default="True") != "False"
deformat = self.get_argument('deformat', default='True') != 'False'
yield self.translate_and_respond(pair,
pipeline,
self.get_argument('q', strip=False),
Expand Down

0 comments on commit d5502d3

Please sign in to comment.