Skip to content

Commit

Permalink
Merge pull request #20 from Ahuge/dev
Browse files Browse the repository at this point in the history
Prepare for Release v0.2.2
  • Loading branch information
Ahuge authored May 5, 2022
2 parents 84651b8 + 7939c95 commit c6b13c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ jobs:
pr-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3.0.2
name: Checkout
- uses: Ahuge/[email protected]

- uses: Ahuge/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BLACK_ARGS: "."
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
RELEASE_BODY=$(jq --raw-output '.release.body' $GITHUB_EVENT_PATH);
echo ::set-output name=upload-url::https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets
echo ::set-output name=release-body::${RELEASE_BODY}
- uses: actions/checkout@v2
- uses: actions/checkout@v3.0.2
name: Checkout
- name: Setup python 2
uses: actions/setup-python@v2
Expand Down
3 changes: 3 additions & 0 deletions sept_qt/file_input_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ def _get_folder_path(self):
elif os.path.isdir(self._disk_path):
if os.path.exists(self._disk_path):
path = self._disk_path
elif os.path.isdir(os.path.dirname(self._disk_path)):
if os.path.exists(os.path.dirname(self._disk_path)):
path = os.path.dirname(self._disk_path)
return path

@QtCore.Slot()
Expand Down

0 comments on commit c6b13c8

Please sign in to comment.