Compare commits
No commits in common. "999a98e2ad24e5f351be1919b111d8eca39f6323" and "bd9c8a84b91183fb2a075fb2f2298d2b8516a128" have entirely different histories.
999a98e2ad
...
bd9c8a84b9
@ -55,6 +55,15 @@ syslog.addFilter(local_filter)
|
||||
stderr.addFilter(local_filter)
|
||||
stderr.addFilter(debug_filter)
|
||||
|
||||
# create formatter and add it to the handlers
|
||||
# stderr_fmt = logging.Formatter('[%(asctime)s] %(leveltag)s: %(message)s',
|
||||
# datefmt='%H:%M:%S')
|
||||
# syslog_fmt = logging.Formatter(
|
||||
# '[%(name)s] %(module)s.%(funcName)s - %(leveltag)s: %(message)s'
|
||||
# )
|
||||
# stderr.setFormatter(stderr_fmt)
|
||||
# syslog.setFormatter(syslog_fmt)
|
||||
|
||||
|
||||
class VerboseExceptionFormatter(logging.Formatter):
|
||||
def formatException(self, exc_info):
|
||||
|
||||
@ -827,11 +827,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
with Session() as session:
|
||||
unplayed_playlist_rows = PlaylistRows.get_unplayed_rows(
|
||||
session, playlist_id)
|
||||
if helpers.ask_yes_no("Move tracks",
|
||||
f"Move {len(unplayed_playlist_rows)} tracks:"
|
||||
" Are you sure?"
|
||||
):
|
||||
self.move_playlist_rows(session, unplayed_playlist_rows)
|
||||
self.move_playlist_rows(session, unplayed_playlist_rows)
|
||||
|
||||
def new_from_template(self) -> None:
|
||||
"""Create new playlist from template"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user