Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Curran committed May 24, 2018
1 parent 0b2e942 commit 085e4bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rsconnect/rsconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def verify_server(server_address):
conn = http.HTTPConnection(r.hostname, port=(r.port or http.HTTP_PORT), timeout=10)
else:
conn = http.HTTPSConnection(r.hostname, port=(r.port or http.HTTPS_PORT), timeout=10)
conn.request('GET', '/__api__/server_settings') # , None, {'Authorization': 'Key %s' % api_key})
conn.request('GET', '/__api__/server_settings')
response = conn.getresponse()
if response.status >= 400:
return False
Expand Down
2 changes: 1 addition & 1 deletion rsconnect/static/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ define([
// notebook is writable
result.resolve();
})
["catch"](function(e) {
.catch(function(e) {
debug.error(e);
// notebook is read-only (server details will likely not be persisted)
result.resolve();
Expand Down

0 comments on commit 085e4bb

Please sign in to comment.