1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-22 20:35:44 +01:00

Fix the back_end value if TREXIO_AUTO is used

This commit is contained in:
q-posev 2022-04-15 19:17:29 +02:00
parent 8ac21bc11d
commit 114cbf3081

View File

@ -742,7 +742,7 @@ struct trexio_s {
#+begin_src python :tangle basic_python.py
class File:
"""TREXIO File object.
"""trexio.File class.
General information about the TREXIO file.
@ -775,7 +775,6 @@ class File:
"""TREXIO File class constructor."""
self.filename = filename
self.mode = mode
self.back_end = back_end
self.state = 0
self.isOpen = False
@ -789,6 +788,7 @@ class File:
self.isOpen = None
self.exists = None
self.back_end = self.pytrexio_s.back_end
self.info = info