diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 3338c6aa..669f43f0 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -505,7 +505,7 @@ class Up2k(object): def _run_one_mtp(self, ptop): db_path = os.path.join(ptop, ".hist", "up2k.db") - sz0 = os.path.getsize(db_path) + sz0 = os.path.getsize(db_path) // 1024 force = {} timeout = {} diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 34c7fd08..39ce25ee 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -1396,7 +1396,7 @@ var mukey = (function () { ev(e); var notation = this.getAttribute('value'); load_notation(notation); - render(); + try_render(); } function load_notation(notation) {