Skip to content

Commit

Permalink
Version 1.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kz26 committed Jul 22, 2017
1 parent b7194b8 commit 90c3fe7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

1.3.5
-----
* [FIX] Paste from clipboard with quoted paths
* [CHANGE] Require dottorrent 1.9.2 or higher

1.3.4
-----
* [FIX] Odd window resizing behavior on reset
Expand Down
4 changes: 2 additions & 2 deletions dottorrentGUI/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ def browseInput(self):
self.initializeTorrent()

def injectInputPath(self, path):
path = path.strip()
if os.path.exists(path):
if os.path.isfile(path):
self.inputType = 'file'
Expand Down Expand Up @@ -288,7 +287,8 @@ def inputDropEvent(self, event):
def pasteInput(self):
mimeData = self.clipboard().mimeData()
if mimeData.hasText():
self.injectInputPath(mimeData.text())
path = mimeData.text().strip("'\"")
self.injectInputPath(path)

def batchModeChanged(self, state):
if state == QtCore.Qt.Checked:
Expand Down
2 changes: 1 addition & 1 deletion dottorrentGUI/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.3.4'
__version__ = '1.3.5'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=['dottorrent>=1.9.0', 'PyQt5>=5.7'],
install_requires=['dottorrent>=1.9.2', 'PyQt5>=5.7'],

# metadata for upload to PyPI
author="Kevin Zhang",
Expand Down

0 comments on commit 90c3fe7

Please sign in to comment.