Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohan9 committed Jul 23, 2019
1 parent 5a29735 commit 18fad5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bothub/common/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def migrate_repository_wit(repository, auth_token, language):
with thezip.open(zipinfo) as thefile:
if re.search('expressions.*', thefile.name):
for line in thefile.readlines():
expressions += line.decode('utf-8', 'replace').replace(
'\\"', '')
expressions += line.decode('utf-8', 'replace')\
.replace('\\"', '')

for data in json.loads(expressions)['data']:
text = data['text']
Expand Down
2 changes: 0 additions & 2 deletions bothub/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
)

urlpatterns = [
path('api/', include(bothub_api_routers.urls)),#Test webapp
path('v1/', include(bothub_api_routers.urls)),
path('v2/', include(bothub_api_v2_urls)),
path('api/v2/', include(bothub_api_v2_urls)),#test webapp
path('docs/', include_docs_urls(title='API Documentation')),
path('admin/', admin.site.urls),
path('ping/', ping, name='ping'),
Expand Down

0 comments on commit 18fad5c

Please sign in to comment.