summaryrefslogtreecommitdiff
path: root/megapixels/commands
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-06-27 23:57:05 +0200
committeradamhrv <adam@ahprojects.com>2019-06-27 23:57:05 +0200
commitf414e2a442501fbbc689363a205de1b7a7d4c6c2 (patch)
tree8386895804efc88be1d61d897c7e1e0af0d7bb93 /megapixels/commands
parent5d1563ce4a3901d8fc86cb3a9867d4503bff9f05 (diff)
update msc cmds
Diffstat (limited to 'megapixels/commands')
-rw-r--r--megapixels/commands/msc/count.py2
-rw-r--r--megapixels/commands/msc/summarize.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/megapixels/commands/msc/count.py b/megapixels/commands/msc/count.py
index 3c242bc6..4a92170a 100644
--- a/megapixels/commands/msc/count.py
+++ b/megapixels/commands/msc/count.py
@@ -118,6 +118,6 @@ def cli(ctx, opt_fp_in, opt_fp_out, opt_slice, opt_force):
df = pd.DataFrame.from_dict(malta_images)
fp_out = opt_fp_out.replace('.csv', '_images_malta.csv')
df.to_csv(fp_out, index=False)
- total = len(malta)
+ total = len(malta_images)
log.debug(f'wrote {fp_out}')
log.debug(f'Found {total:,} malta embassy images') \ No newline at end of file
diff --git a/megapixels/commands/msc/summarize.py b/megapixels/commands/msc/summarize.py
index 762cddc2..8df32c45 100644
--- a/megapixels/commands/msc/summarize.py
+++ b/megapixels/commands/msc/summarize.py
@@ -13,7 +13,7 @@ log = Logger.getLogger()
@click.option('-o', '--output', 'opt_fp_out', required=True)
@click.pass_context
def cli(ctx, opt_fp_in, opt_fp_out):
- """_template_"""
+ """Summarize"""
import sys
from glob import glob