Commit 8b7d1b85 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Merge branch 'python3-pyside2' of https://github.com/esa/opengeode into python3-pyside2

parents 893fe792 e5bd3800
......@@ -122,6 +122,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
3.0.2 (05/2020)
- Fix API change in Pyside2
3.0.1 (05/2020)
- Improve generated Makefile/gpr project file
......
......@@ -23,7 +23,7 @@ import importlib
import logging
import traceback
import hashlib
from PySide2.QtCore import QProcess, QFile
from PySide2.QtCore import QProcess, QFile, QIODevice
from . import icons
......@@ -157,7 +157,7 @@ def parse_asn1(*files, **options):
if pprint:
# Generate an html file with pretty-printed ASN.1 types
stg_qrc = QFile(':misc/pretty_print_asn1.stg')
stg_qrc.open(1)
stg_qrc.open(QIODevice.ReadOnly)
content = stg_qrc.readAll()
stgfile = outdir + os.sep + 'pretty_print_asn1.stg'
with open(stgfile, 'wb') as tmpfile:
......
......@@ -140,7 +140,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '3.0.1'
__version__ = '3.0.2'
if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment