Update plutus.py

This commit is contained in:
Isaacdelly 2019-02-27 16:44:52 -08:00 committed by GitHub
parent 0add02829d
commit f6cebea7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ if __name__ == '__main__':
count = len(os.listdir(DATABASE))
half = count // 2; quarter = half // 2
for c, p in enumerate(os.listdir(DATABASE)):
print('reading database: ' + str(c) + '/' + str(count), end='\r')
print('reading database: ' + str(c+1) + '/' + str(count), end='\r')
with open(DATABASE + p, 'rb') as file:
if c < half:
if c < quarter: database[0] = database[0] | pickle.load(file)