Skip to content

Commit 25fc3bc

Browse files
author
Axel Dahlberg
committed
Changed ModuleNotFoundError to ImportError to support python3.5
1 parent 8ca12f2 commit 25fc3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cqc/pythonLib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
from simulaqron.settings import simulaqron_settings
9898
_simulaqron_version = simulaqron.__version__
9999
_simulaqron_major = int(_simulaqron_version.split('.')[0])
100-
except ModuleNotFoundError:
100+
except ImportError:
101101
_simulaqron_major = -1
102102

103103

0 commit comments

Comments
 (0)