Black formatting
This commit is contained in:
parent
87ab973439
commit
c8a7ae7f73
@ -641,7 +641,9 @@ class Tracks(Base):
|
||||
path: str = Column(String(2048), index=False, nullable=False, unique=True)
|
||||
mtime = Column(Float, index=True)
|
||||
bitrate = Column(Integer, nullable=True, default=None)
|
||||
playlistrows: List[PlaylistRows] = relationship("PlaylistRows", back_populates="track")
|
||||
playlistrows: List[PlaylistRows] = relationship(
|
||||
"PlaylistRows", back_populates="track"
|
||||
)
|
||||
playlists = association_proxy("playlistrows", "playlist")
|
||||
playdates: List[Playdates] = relationship("Playdates", back_populates="track")
|
||||
|
||||
|
||||
@ -2340,12 +2340,10 @@ class PlaylistTab(QTableWidget):
|
||||
new_order.index(x) + min(new_order)
|
||||
for x in range(min(new_order), max(new_order) + 1)
|
||||
]
|
||||
|
||||
|
||||
# Reset drag mode to allow row selection by dragging
|
||||
self.setDragEnabled(False)
|
||||
|
||||
|
||||
def _track_time_between_rows(
|
||||
self, session: scoped_session, from_plr: PlaylistRows, to_plr: PlaylistRows
|
||||
) -> int:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user