1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-26 01:12:25 +00:00

Store transactions by default

This commit is contained in:
Yohann D'ANELLO 2020-07-27 00:16:24 +02:00
parent c19a0582bd
commit fc29147c87

View File

@ -67,8 +67,8 @@ class Command(ImportCommand):
def add_arguments(self, parser):
parser.add_argument('-b', '--buttons', action='store_true', help="import buttons")
parser.add_argument('-t', '--transactions', action='store', default=0, help="start id for transaction import")
parser.add_argument('-n', '--nosave', action='store_true', default=True, help="Scan only transactions, "
"don't save them")
parser.add_argument('-n', '--nosave', action='store_true', default=False, help="Scan only transactions, "
"don't save them")
@timed
def import_buttons(self, cur, chunk_size, import_buttons):