more debug logs w/ burnettk

This commit is contained in:
jasquat 2023-01-09 17:05:27 -05:00
parent 874d99580d
commit fc580cbba6
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ class ProcessModelInfo:
return False return False
# for use with os.path.join so it can work on windows # for use with os.path.join so it can work on windows
# NOTE: in APIs, ids should always have forward slashes, even in windows.
# this is because we have to store ids in the database, and we want the same
# database snapshot to work on any OS.
def id_for_file_path(self) -> str: def id_for_file_path(self) -> str:
"""Id_for_file_path.""" """Id_for_file_path."""
return self.id.replace("/", os.sep) return self.id.replace("/", os.sep)