kopia lustrzana https://github.com/OpenDroneMap/WebODM
use logger.warning
rodzic
25e72958ed
commit
c785936075
|
@ -32,7 +32,7 @@ def init_plugins():
|
||||||
with open(os.path.join(get_plugins_persistent_path(), "__init__.py"), 'w') as f:
|
with open(os.path.join(get_plugins_persistent_path(), "__init__.py"), 'w') as f:
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Cannot create __init__.py: %s" % str(e))
|
logger.warning("Cannot create __init__.py: %s" % str(e))
|
||||||
|
|
||||||
# Add additional python path to discover plugins
|
# Add additional python path to discover plugins
|
||||||
sys.path.append(settings.MEDIA_ROOT)
|
sys.path.append(settings.MEDIA_ROOT)
|
||||||
|
|
Ładowanie…
Reference in New Issue