mirror of
https://github.com/Isaacdelly/Plutus.git
synced 2025-03-28 18:52:26 +01:00
formatting
This commit is contained in:
parent
0fdd8d8a7d
commit
74d38c4037
@ -98,7 +98,7 @@ if __name__ == '__main__':
|
|||||||
count = len(os.listdir(DATABASE))
|
count = len(os.listdir(DATABASE))
|
||||||
half = count // 2; quarter = half // 2
|
half = count // 2; quarter = half // 2
|
||||||
for c, p in enumerate(os.listdir(DATABASE)):
|
for c, p in enumerate(os.listdir(DATABASE)):
|
||||||
print('reading database: ' + str(c+1) + '/' + str(count), end = '\r')
|
print('reading database: ' + str(c + 1) + '/' + str(count), end = '\r')
|
||||||
with open(DATABASE + p, 'rb') as file:
|
with open(DATABASE + p, 'rb') as file:
|
||||||
if c < half:
|
if c < half:
|
||||||
if c < quarter: database[0] = database[0] | pickle.load(file)
|
if c < quarter: database[0] = database[0] | pickle.load(file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user