diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-05-16 13:41:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-05-16 13:41:56 -0300 |
commit | 906d4c7ac7fb77bdc2b926d77de73504cb452c53 (patch) | |
tree | 6c66a3c2ab2ed88425c6af1eb386c6096faf56eb | |
parent | 2dac4ff339598de6e3cb7ea489d8ad1de5b19b29 (diff) | |
download | ckandumper-906d4c7ac7fb77bdc2b926d77de73504cb452c53.tar.gz ckandumper-906d4c7ac7fb77bdc2b926d77de73504cb452c53.tar.bz2 |
Record download date
-rwxr-xr-x | ckandumper | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -19,6 +19,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # Dependencies +import datetime import asyncio import argparse import sys, os, json @@ -88,6 +89,10 @@ class DownloadMultiple: output.write(str(proc.returncode) + '\n') output.close() + output = open(local_filename + '.date', 'w') + output.write(str(datetime.datetime.now()) + '\n') + output.close() + if not str(proc.returncode) in self.globalstats['exitstatus']: self.globalstats['exitstatus'][str(proc.returncode)] = [] |