Browse Source

Update 'risk/__init__.py'

adjusting python version 3 and 2
weiyi 6 years ago
parent
commit
e33223f6b2
1 changed files with 5 additions and 1 deletions
  1. 5 1
      risk/__init__.py

+ 5 - 1
risk/__init__.py

@@ -66,4 +66,8 @@ Basic examples that illustrate usage of the the framework are in the notebook fo
 
 	
 """
-from risk import deid
+import sys
+if sys.version_info.major == 2:
+	from risk import deid
+else:
+  	from risk.risk import deid