kopia lustrzana https://github.com/OpenDroneMap/WebODM
GRASS use tmp-location, translation fix
rodzic
89522451fc
commit
e995876401
|
@ -100,9 +100,9 @@ class GrassContext:
|
|||
env["PYTHONPATH"] = "%s%s%s" % (self.python_path, sep, env.get("PYTHONPATH", ""))
|
||||
|
||||
# Execute it
|
||||
logger.info("Executing grass script from {}: {} -c {} location --exec python3 {} {}".format(self.get_cwd(), self.grass_binary, self.location, script, " ".join(params)))
|
||||
logger.info("Executing grass script from {}: {} --tmp-location {} --exec python3 {} {}".format(self.get_cwd(), self.grass_binary, self.location, script, " ".join(params)))
|
||||
|
||||
command = [self.grass_binary, '-c', self.location, 'location', '--exec', 'python3', script] + params
|
||||
command = [self.grass_binary, '--tmp-location', self.location, '--exec', 'python3', script] + params
|
||||
if platform.system() == "Windows":
|
||||
# communicate() hangs on Windows so we use check_output instead
|
||||
try:
|
||||
|
|
|
@ -225,7 +225,7 @@
|
|||
</div>
|
||||
{% else %}
|
||||
<h3>{% trans 'Welcome!' %} ☺</h3>
|
||||
<div style="margin-bottom: 28px;">Before we get started, we need to create an administrator account for you:</div>
|
||||
<div style="margin-bottom: 28px;">{% trans "Before we get started, we need to create an administrator account for you:" %}</div>
|
||||
{% endif %}
|
||||
|
||||
<form action="" method="post" class="form-horizontal" role="form">{% csrf_token %}
|
||||
|
|
Ładowanie…
Reference in New Issue