Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Merge 74d5526 into 6755024
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Murray committed Jun 20, 2014
2 parents 6755024 + 74d5526 commit 65cbda2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions exif2timestream.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
FULLRES_CONSTANTS = {"original", "orig", "fullres"}
IMAGE_TYPE_CONSTANTS = {"raw", "jpg"}
RAW_FORMATS = {"cr2", "nef", "tif", "tiff"}
DATE_NOW_CONSTANTS = {"now", "current"}
CLI_OPTS = """
USAGE:
exif2timestream.py [-t PROCESSES -1 -d -l LOGDIR] -c CAM_CONFIG_CSV
Expand Down Expand Up @@ -109,6 +110,8 @@ def date(x):
if isinstance(x, struct_time):
return x
else:
if x.lower() in DATE_NOW_CONSTANTS:
return NOW
try:
return strptime(x, "%Y_%m_%d")
except:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
setup(
name="exif2timestream",
py_modules=['exif2timestream', ],
version="0.2.6",
version="0.2.7",
install_requires=install_requires,
tests_require=test_requires,
description=desc,
Expand Down

0 comments on commit 65cbda2

Please sign in to comment.