Skip to content

Commit

Permalink
Update Camptown
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffy-critter committed Aug 29, 2024
1 parent 8c84381 commit b4f119d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions bandcrash/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ def encode_album(self):
LOGGER.debug("self.output_dir = %s", self.output_dir)

# prompt for the actual output directory
dialog = QFileDialog(self, "Choose an output directory", self.output_dir or '')
dialog = QFileDialog(
self, "Choose an output directory", self.output_dir or '')
dialog.setFileMode(QFileDialog.FileMode.Directory)
dialog.setAcceptMode(QFileDialog.AcceptMode.AcceptOpen)
dialog.setLabelText(QFileDialog.DialogLabel.Accept, "Encode")
Expand Down Expand Up @@ -775,9 +776,8 @@ def encode_album(self):
self,
"Encode complete",
f"{task_names} completed successfully",
QMessageBox.StandardButton.Open |
QMessageBox.StandardButton.Ok,
QMessageBox.StandardButton.Open)
QMessageBox.StandardButton.Open | QMessageBox.StandardButton.Ok,
QMessageBox.StandardButton.Open) #type:ignore
if result == QMessageBox.StandardButton.Open:
QtGui.QDesktopServices.openUrl(
QtCore.QUrl.fromLocalFile(config.output_dir))
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pillow = [
{ platform = "darwin", version = "^10.1.0", source = "devpi-fluffy" },
{ markers = "sys_platform != 'darwin'", version = "^10.1.0", source = "pypi"}
]
camptown = "^0.3.3"
camptown = "^0.3.7"


[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit b4f119d

Please sign in to comment.