We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df1320 commit f04446cCopy full SHA for f04446c
1 file changed
sams/sampler/Software.py
@@ -78,7 +78,7 @@ def __init__(self,
78
self.updated = None
79
80
try:
81
- self.exe = os.readlink('/proc/{self.pid}/exe')
+ self.exe = os.readlink(f'/proc/{self.pid:d}/exe')
82
logger.debug(f'Pid: {pid} (JobId: {jobid}) has exe: {self.exe}')
83
except Exception:
84
logger.debug(f'Pid: {pid} (JobId: {jobid}) has no exe or pid has disapeard')
0 commit comments