Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions poloniex.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json
import time
import hmac,hashlib
import socket

def createTimeStamp(datestr, format="%Y-%m-%d %H:%M:%S"):
return time.mktime(time.strptime(datestr, format))
Expand All @@ -11,6 +12,7 @@ class Poloniex:
def __init__(self, APIKey, Secret):
self.APIKey = APIKey
self.Secret = Secret
socket.setdefaulttimeout(30)

def post_process(self, before):
after = before
Expand Down
2 changes: 1 addition & 1 deletion www/lendingbot.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
var table = $('#logtable');
table.empty();
for (var i = rowCount - 1; i >=0; i--) {
table.append('<tr><td class="col-xs-12" colspan="2">' + data.log[i] + '</td></tr>');
table.append($('<tr/>').append($('<td class="col-xs-12" colspan="2" />').text(data.log[i])));
}
}

Expand Down