Sfoglia il codice sorgente

Forgot to update query numbers.

tags/v1.0^2
Ben Kurtovic 10 anni fa
parent
commit
e0194ab346
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      bitshift/database/__init__.py

+ 2
- 2
bitshift/database/__init__.py Vedi File

@@ -183,8 +183,8 @@ class Database(object):
num_exp = max(len(str(num_results)) - 3, 0)
num_results = int(round(num_results, -num_exp))
num_mnt = num_results / (10 ** num_exp)
cursor.execute(query2, (cache_id, num_mnt, num_exp))
cursor.executemany(query3, [(cache_id, c_id) for c_id in ids])
cursor.execute(query3, (cache_id, num_mnt, num_exp))
cursor.executemany(query4, [(cache_id, c_id) for c_id in ids])
codelet_gen = self._get_codelets_from_ids(cursor, ids)
return (num_results, list(codelet_gen))



Caricamento…
Annulla
Salva