Skip to content

Commit

Permalink
Merge pull request #64 from CMT-MU/develop
Browse files Browse the repository at this point in the history
Releasing for 1.1.28
  • Loading branch information
hiro-k-phys committed Jan 31, 2024
2 parents 44ab2e0 + 867ea5d commit c87e7c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qtdraw/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "1.1.27"
__version__ = "1.1.28"
__date__ = "2021 - 2024"
__author__ = "Hiroaki Kusunose"
5 changes: 3 additions & 2 deletions qtdraw/scripts/qtdraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ def cmd(filename):
"""
n = len(filename)
if n < 1:
filename = None
QtDraw().show()
exit()
elif n > 1:
exit()
filename = os.path.abspath(filename[0])

filename = os.path.abspath(filename[0])
QtDraw(filename=filename).show()

0 comments on commit c87e7c0

Please sign in to comment.