mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
bug fix
This commit is contained in:
parent
35ad98ca30
commit
991d1985c3
@ -727,7 +727,7 @@ def get_pg_schema(pg_username: str, pg_pword: str, pg_host: str, pg_port: str):
|
|||||||
pg_dump = ["pg_dump", "--inserts", "-U", pg_username, "-h", pg_host, "-p", pg_port,
|
pg_dump = ["pg_dump", "--inserts", "-U", pg_username, "-h", pg_host, "-p", pg_port,
|
||||||
"-T", "blackboard_artifacts", "-T", "blackboard_attributes"]
|
"-T", "blackboard_artifacts", "-T", "blackboard_attributes"]
|
||||||
output = subprocess.check_output(pg_dump)
|
output = subprocess.check_output(pg_dump)
|
||||||
return sanitize_schema(output)
|
return sanitize_schema(str(output))
|
||||||
|
|
||||||
|
|
||||||
def get_sqlite_schema(db_conn):
|
def get_sqlite_schema(db_conn):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user