Skip to content

Commit

Permalink
Fixed default export directory
Browse files Browse the repository at this point in the history
  • Loading branch information
betterengineering committed Apr 24, 2015
1 parent e9d21ba commit 3d31f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roastero/modules/gui/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def import_recipe_file(self):

def export_recipe_file(self):
try:
recipeFile = QFileDialog.getSaveFileName(self, 'Export Recipe','',
'Recipes (*.json);;All Files (*)')
recipeFile = QFileDialog.getSaveFileName(self, 'Export Recipe',
os.path.expanduser('~/'), 'Recipes (*.json);;All Files (*)')
jsonObject = json.dumps(self.roast.get_recipe_object().get_current_recipe(), indent=4)

file = open(recipeFile[0], 'w')
Expand Down

0 comments on commit 3d31f74

Please sign in to comment.