Explorar o código

:beetle: Fix CLI help

DricomDragon hai 1 mes
pai
achega
e7dbfd5c7c
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      exifScripts/exif_offset.py
  2. 1 1
      exifScripts/exif_shift.py

+ 1 - 1
exifScripts/exif_offset.py

@@ -7,7 +7,7 @@ import datetime as dt
 offset = '+02:00'
 print('Override offset with', offset)
 
-if len(sys.argv) < 1:
+if len(sys.argv) <= 1:
     print(sys.argv[0], 'img1.jpg img2.jpg')
     quit()
 

+ 1 - 1
exifScripts/exif_shift.py

@@ -7,7 +7,7 @@ import datetime as dt
 shift = dt.timedelta(hours = 1, minutes = 6)
 print('Shift exif date time by', shift)
 
-if len(sys.argv) < 1:
+if len(sys.argv) <= 1:
     print(sys.argv[0], 'img1.jpg img2.jpg')
     quit()