Skip to content

Commit 6b2eadb

Browse files
committed
only 3.12
1 parent d22d599 commit 6b2eadb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
timeout-minutes: 30
1313
strategy:
1414
matrix:
15-
python-version: ['3.10', '3.12']
15+
python-version: ['3.12'] # '3.10', #
1616
os: ['ubuntu-latest', 'windows-latest']
1717
omc-version: ['stable']
1818

OMPython/OMCSession.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def size(self) -> int:
438438
"""
439439
Needed compatibility function to have the same interface as OMCPathReal
440440
"""
441-
if hasattr(self, stat) and callable(self.stat):
441+
if hasattr(self, 'stat') and callable(self.stat):
442442
return self.stat().st_size
443443

444444
raise OMCSessionException("Missing stat()")

0 commit comments

Comments
 (0)