Skip to content

Commit

Permalink
Fixed str(iteration) problem
Browse files Browse the repository at this point in the history
  • Loading branch information
davidADSP authored Jan 28, 2018
1 parent 5b29ea9 commit 3763427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
" print('')\n",
"\n",
" if iteration % 5 == 0:\n",
" pickle.dump( memory, open( run_folder + \"memory/memory\" + str(iteration) + \".p\", \"wb\" ) )\n",
" pickle.dump( memory, open( run_folder + \"memory/memory\" + str(iteration).zfill(4) + \".p\", \"wb\" ) )\n",
"\n",
" lg.logger_memory.info('====================')\n",
" lg.logger_memory.info('NEW MEMORIES')\n",
Expand Down

0 comments on commit 3763427

Please sign in to comment.