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)
|
path: str = Column(String(2048), index=False, nullable=False, unique=True)
|
||||||
mtime = Column(Float, index=True)
|
mtime = Column(Float, index=True)
|
||||||
bitrate = Column(Integer, nullable=True, default=None)
|
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")
|
playlists = association_proxy("playlistrows", "playlist")
|
||||||
playdates: List[Playdates] = relationship("Playdates", back_populates="track")
|
playdates: List[Playdates] = relationship("Playdates", back_populates="track")
|
||||||
|
|
||||||
|
|||||||
@ -2341,11 +2341,9 @@ class PlaylistTab(QTableWidget):
|
|||||||
for x in range(min(new_order), max(new_order) + 1)
|
for x in range(min(new_order), max(new_order) + 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
# Reset drag mode to allow row selection by dragging
|
# Reset drag mode to allow row selection by dragging
|
||||||
self.setDragEnabled(False)
|
self.setDragEnabled(False)
|
||||||
|
|
||||||
|
|
||||||
def _track_time_between_rows(
|
def _track_time_between_rows(
|
||||||
self, session: scoped_session, from_plr: PlaylistRows, to_plr: PlaylistRows
|
self, session: scoped_session, from_plr: PlaylistRows, to_plr: PlaylistRows
|
||||||
) -> int:
|
) -> int:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user