mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00
remove telemetry from migrations
This commit is contained in:
parent
8b6d10c832
commit
5f1bb28f5d
@ -11,8 +11,6 @@ from app.migrations.base import Migration
|
|||||||
from app.settings import Paths
|
from app.settings import Paths
|
||||||
from app.utils.decorators import coroutine
|
from app.utils.decorators import coroutine
|
||||||
from app.utils.hashing import create_hash
|
from app.utils.hashing import create_hash
|
||||||
from app.telemetry import Telemetry
|
|
||||||
from app.utils.threading import background
|
|
||||||
|
|
||||||
# playlists table
|
# playlists table
|
||||||
# ---------------
|
# ---------------
|
||||||
@ -25,11 +23,6 @@ from app.utils.threading import background
|
|||||||
# 6: trackhashes
|
# 6: trackhashes
|
||||||
|
|
||||||
|
|
||||||
@background
|
|
||||||
def send_telemetry():
|
|
||||||
Telemetry.send_app_installed()
|
|
||||||
|
|
||||||
|
|
||||||
class RemoveSmallThumbnailFolder(Migration):
|
class RemoveSmallThumbnailFolder(Migration):
|
||||||
"""
|
"""
|
||||||
Removes the small thumbnail folder.
|
Removes the small thumbnail folder.
|
||||||
@ -41,7 +34,6 @@ class RemoveSmallThumbnailFolder(Migration):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def migrate():
|
def migrate():
|
||||||
send_telemetry()
|
|
||||||
thumbs_sm_path = Paths.get_sm_thumb_path()
|
thumbs_sm_path = Paths.get_sm_thumb_path()
|
||||||
thumbs_lg_path = Paths.get_lg_thumb_path()
|
thumbs_lg_path = Paths.get_lg_thumb_path()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user