Changeset 29:4a51239749c4 in stamper for bin/stamps


Ignore:
Timestamp:
Aug 9, 2014, 2:53:22 AM (10 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Allow the use of date-time filters without giving a customer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/stamps

    r28 r29  
    2626    s = Stamper()
    2727    s.load_stamps()
     28
     29    # Set proper arguments if they have passed a date-based filter without
     30    # a customer
     31    if args.customer not in s.customers and not args.filter:
     32        args.filter = args.customer
     33        args.customer = None
     34
     35    # Call the proper methods, based on the given parameters
    2836    if args.timeline:
    2937        s.timeline()
Note: See TracChangeset for help on using the changeset viewer.