[black] Reformat to use 88 line lengths
This commit is contained in:
@ -7,14 +7,16 @@ class Command(BaseCommand):
|
||||
|
||||
def handle(self, *args, **options):
|
||||
with connection.cursor() as cursor:
|
||||
cursor.execute("""
|
||||
cursor.execute(
|
||||
"""
|
||||
INSERT OR IGNORE INTO charts_chartrecord
|
||||
(created, modified, user_id, rank, count, year, month, week, day,
|
||||
video_id, series_id, artist_id, track_id, period_start, period_end)
|
||||
SELECT created, modified, user_id, rank, count, year, month, week, day,
|
||||
video_id, series_id, artist_id, track_id, period_start, period_end
|
||||
FROM scrobbles_chartrecord
|
||||
""")
|
||||
"""
|
||||
)
|
||||
self.stdout.write(
|
||||
self.style.SUCCESS("Copied ChartRecord data to charts app")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user