Skip to content

Commit

Permalink
quick hack to stop timestamp resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Jun 29, 2023
1 parent 9b692af commit 5a320f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,5 @@ RUN pip install https://github.com/msbrogli/rpudb/archive/master.zip
RUN pip install tzlocal
COPY ./pfbridge /app

RUN apt update && \
apt-get install -y apt-transport-https && \
apt -y install vim telnet netcat procps

ENV PORT=33333
EXPOSE ${PORT}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
PFLINK_USERNAME: pflink
PFLINK_PASSWORD: pflink1234
NAME: PFDCMLOCAL
PACSNAME: PACSDCM
PACSNAME: orthanc
CUBEANDSWIFTKEY: local
ports:
- "33333:33333"
Expand Down
2 changes: 1 addition & 1 deletion pfbridge/VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3.7.1
3.7.2

6 changes: 5 additions & 1 deletion pfbridge/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,18 @@ def analysis_decode() -> None:
'passwordOrthanc': credentialsOrthanc.passwordOrthanc,
'urlOrthanc': serviceURLs.urlOrthanc
}
},
{
'ignore': {
'time': '%timestamp'
}
}
]
)
for field in ["pluginArgs", "pipelineName", "pluginName", "feedName", "pluginVersion"]:
d_decode:dict = decode(analysis.__getattribute__(field))
analysisDecoded.__setattr__(field, d_decode["result"])


pflink = Pflink()
analysis = DylldAnalysis()
analysisDecoded = DylldAnalysis()
Expand Down

0 comments on commit 5a320f3

Please sign in to comment.