diff --git a/src/cities_light/management/commands/cities_light.py b/src/cities_light/management/commands/cities_light.py index 2e9a389c..193225ca 100644 --- a/src/cities_light/management/commands/cities_light.py +++ b/src/cities_light/management/commands/cities_light.py @@ -6,9 +6,7 @@ from argparse import RawTextHelpFormatter import sys -if sys.platform != 'win32': - import resource - +import resource import pickle from django.conf import settings diff --git a/src/cities_light/receivers.py b/src/cities_light/receivers.py index c33358e3..12df635a 100644 --- a/src/cities_light/receivers.py +++ b/src/cities_light/receivers.py @@ -8,7 +8,6 @@ from .exceptions import InvalidItems - def set_name_ascii(sender, instance=None, **kwargs): """ Signal reciever that sets instance.name_ascii from instance.name.