Skip to content

Commit

Permalink
Fixed sitetree_dump for pre 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Jun 18, 2018
1 parent eae3df8 commit aa25e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sitetree/management/commands/sitetreedump.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Command(BaseCommand):

def add_arguments(self, parser):

if VERSION > (1, 11):
if VERSION >= (1, 10):
# Before that args already set with nargs='*'.
parser.add_argument('args', metavar='tree', nargs='?', help='Tree aliases.', default=[])

Expand Down

0 comments on commit aa25e29

Please sign in to comment.