Start adding metadata info

metadata
Chris Truncer 2016-07-19 16:36:02 -06:00
parent de5e2fdf5d
commit 52d55cf025
No known key found for this signature in database
GPG Key ID: 9715AC2B40A5A64A
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class GetHandler(BaseHTTPRequestHandler):
screenshot_name = current_date.replace("/", "") +\
"_" + current_time.replace(":", "") + "actor_data.txt"
with open(loot_path + screenshot_name, 'a') as cc_data_file:
cc_data_file.write('METADATA: From: ' + self.client_address + ' ' + self.address_string + '\n\n')
cc_data_file.write('etumbot just checked in here!\n')
self.send_response(200)
self.end_headers()