aboutsummaryrefslogtreecommitdiff
path: root/management/commands/listtimetables.py
diff options
context:
space:
mode:
Diffstat (limited to 'management/commands/listtimetables.py')
-rw-r--r--management/commands/listtimetables.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/management/commands/listtimetables.py b/management/commands/listtimetables.py
index 25f641b..d17399a 100644
--- a/management/commands/listtimetables.py
+++ b/management/commands/listtimetables.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017 Alban Gruin
+# Copyright (C) 2017-2018 Alban Gruin
#
# celcatsanitizer is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
@@ -14,7 +14,7 @@
# along with celcatsanitizer. If not, see <http://www.gnu.org/licenses/>.
from django.core.management.base import BaseCommand
-from edt.models import Source
+from ...models import Source
class Command(BaseCommand):
@@ -29,8 +29,8 @@ class Command(BaseCommand):
sources = sources.order_by("id")
for source in sources:
- self.stdout.write("{0}\t: {1} (id: {2})".format(source.formatted_timetables,
- source, source.id))
+ self.stdout.write("{0}\t: {1} (id: {2})".format(
+ source.formatted_timetables, source, source.id))
self.stdout.write("")
self.stdout.write(self.style.SUCCESS("Done."))