Skip to content

Commit

Permalink
Bump to 1.0.7
Browse files Browse the repository at this point in the history
Fix another unicode decode error
  • Loading branch information
dschreij committed Apr 29, 2016
1 parent 7e2b4fa commit 2dab1e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion QOpenScienceFramework/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0.6"
__version__ = "1.0.7"
__author__ = "Daniel Schreij"

import os
Expand Down
4 changes: 3 additions & 1 deletion QOpenScienceFramework/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,9 @@ def __clicked_upload_file(self):
# See if a previous folder was set, and if not, try to set
# the user's home folder as a starting folder
if not hasattr(self, 'last_open_destination_folder'):
self.last_open_destination_folder = os.path.expanduser(safe_str("~"))
self.last_open_destination_folder = safe_decode(
os.path.expanduser(safe_str("~")),
enc=sys.getfilesystemencoding())

file_to_upload = QtWidgets.QFileDialog.getOpenFileName(self,
_("Select file for upload"),
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
This repository should contain everything you need to start off with connecting your python application to the Open Science Framework (https://osf.io). It offers python functions that translate to Open Science Framework API endpoints, and also a set of PyQt widgets (should work with both pyqt4 and pyqt5 thanks to qtpy) that are designed to display and interact with information obtained through the OSF API.

## Installation
Make sure you have the following modules available (all should be easy to get with anaconda and/or pip
Make sure you have the following modules available (all should be easy to get with anaconda and/or pip)

- pyqt4 or pyqt5 (https://www.riverbankcomputing.com/software/pyqt/intro)
- qtpy (https://github.com/spyder-ide/qtpy)
Expand Down

0 comments on commit 2dab1e1

Please sign in to comment.