Commit e091b1d5 authored by matjaz's avatar matjaz

Corrected imports of .Net stuff - if python.net interpreter is not present...

Corrected imports of .Net stuff - if python.net interpreter is not present everything still works - but a warning message is displayed.
parent c8f353c7
......@@ -10,13 +10,11 @@ from settings import *
sys.path.append(package_bin)
try:
from LatinoCloudFlows import *
import System
import Latino
from LatinoCloudFlows import *
except Exception:
logging.warning("LatinoClowdFlows could not be imported! Either there are no Latino dll available or a "\
"wrong interpreter is used. See 'http://pythonnet.sourceforge.net' for interpreter details. "\
"Other functionality (besides latino) will work as .")
logging.warning("DotNet assemblies could not be loaded! Probable reasons: missing dlls or wrong interpreter (see http://pythonnet.sourceforge.net). "
"Other functionality of ClowdFlows (besides .Net assemblies) should be OK!")
pass
logging.basicConfig(format='%(asctime)s %(message)s', level=logging.INFO)
\ No newline at end of file
This diff is collapsed.
from import_dotnet import *
import time
import logging
from import_dotnet import LatinoCF
from import_dotnet import Latino
from import_dotnet import System
logging.basicConfig(format='%(asctime)s %(message)s', level=logging.INFO)
#------------------------------supposed----------------------------------------
......
Markdown is supported
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