diff options
Diffstat (limited to 'ishtar_common/management/commands')
| -rw-r--r-- | ishtar_common/management/commands/media_clean_unused.py | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/ishtar_common/management/commands/media_clean_unused.py b/ishtar_common/management/commands/media_clean_unused.py index 33237c1c7..f09cc9e9a 100644 --- a/ishtar_common/management/commands/media_clean_unused.py +++ b/ishtar_common/management/commands/media_clean_unused.py @@ -7,7 +7,6 @@ https://github.com/akolpakov/django-unused-media  import os -import six.moves  from django.conf import settings  from django.core.management.base import BaseCommand @@ -89,7 +88,7 @@ class Command(BaseCommand):              # ask user              question = 'Are you sure you want to remove {} unused files? (y/N)'.format(len(unused_media)) -            if six.moves.input(question).upper() != 'Y': +            if input(question).upper() != 'Y':                  self.info('Interrupted by user. Exit.')                  return  | 
