We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d22d599 commit 6b2eadbCopy full SHA for 6b2eadb
2 files changed
.github/workflows/Test.yml
@@ -12,7 +12,7 @@ jobs:
12
timeout-minutes: 30
13
strategy:
14
matrix:
15
- python-version: ['3.10', '3.12']
+ python-version: ['3.12'] # '3.10', #
16
os: ['ubuntu-latest', 'windows-latest']
17
omc-version: ['stable']
18
OMPython/OMCSession.py
@@ -438,7 +438,7 @@ def size(self) -> int:
438
"""
439
Needed compatibility function to have the same interface as OMCPathReal
440
441
- if hasattr(self, stat) and callable(self.stat):
+ if hasattr(self, 'stat') and callable(self.stat):
442
return self.stat().st_size
443
444
raise OMCSessionException("Missing stat()")
0 commit comments