Update psycopg2 dependency to psycopg2-binary in requirements.txt; refine timestamp handling in main function of update_mongo.py; add new cache.tgz file.

This commit is contained in:
2026-01-22 14:25:53 -05:00
parent f5627e58a8
commit f6254ee42e
3 changed files with 4 additions and 5 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,7 +1,7 @@
logrotater==1.3
numpy==2.2.3
progressbar33==2.4
psycopg2==2.9.10
psycopg2-binary==2.9.10
pymongo==4.11.2
pymssql==2.3.2
Requests==2.32.3
+2 -3
View File
@@ -303,12 +303,11 @@ def main() -> int:
for directory in directory_list:
if directory not in found_path:
files_needed.append([f"{directory}", f"{seriesid}.json"])
else:
elif int(ts) > int(prev_ts):
for directory in directory_list:
files_needed.append([f"{directory}", f"{seriesid}.json"])
except Exception:
for directory in directory_list:
files_needed.append([f"{directory}", f"{seriesid}.json"])
lprint.logprint("debug", f"Unable to process Series {seriesid} timestamps: downloaded {ts} vs previous {prev_ts}")
else:
# Add needed json files to needed file list.
for directory in directory_list: