This commit is contained in:
Robin Müller 2023-02-22 02:53:56 +01:00
parent 4917ddbbe4
commit fb676dc90f
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -60,7 +60,7 @@ def pack_tm_store_commands(p: ServiceProviderParams):
q.add_log_cmd(Info.RETRIEVAL_BY_TIME_RANGE)
obj_id, store_string = store_select_prompt()
app_data = bytearray(obj_id.as_bytes)
start_of_dump_time = time_prompt("Determining retrival start time")
start_of_dump_time = time_prompt("Determining retrieval start time")
start_stamp = int(math.floor(start_of_dump_time.timestamp()))
end_of_dump_time = time_prompt("Determining retrieval end time")
end_stamp = int(math.floor(end_of_dump_time.timestamp()))
@ -162,7 +162,6 @@ def time_prompt_offset_from_now() -> datetime.datetime:
def store_select_prompt() -> (ObjectIdU32, str):
obj_id_dict = get_object_ids()
print("Available TM stores:")
idx_to_obj_id = dict()
for k, v in STORE_DICT.items():
print(f" {k}: {v[1]}")
while True: