Skip to content

Commit

Permalink
minor things
Browse files Browse the repository at this point in the history
Ylannl committed Dec 15, 2016
1 parent f0344b3 commit cefac9c
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions matahn/lastools.py
Original file line number Diff line number Diff line change
@@ -19,8 +19,8 @@
from matahn import app

def run_command(q):
if app.debug:
print(' '.join(q))
#if app.debug:
print(' '.join(q))
subprocess.check_call(q)

def lasmerge(filenames, x_min, y_min, x_max, y_max, classes, outname):
4 changes: 2 additions & 2 deletions matahn/models.py
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ def send_email(self):
base_url=base_url
)
msg = MIMEText(body)
msg['Subject'] = 'Your AHN2 file is ready'
msg['Subject'] = 'Your point cloud file is ready'
msg['From'] = app.config['MAIL_FROM']
msg['To'] = receiver

@@ -150,4 +150,4 @@ def get_classnames(self):
return [lasclass_lookup[c] for c in self.classes]

def __repr__(self):
return "Task #{} [{}]".format(self.id, self.dataset.name)
return "Task #{} [{}]".format(self.id, self.dataset.name)

0 comments on commit cefac9c

Please sign in to comment.