-# Copyright (C) 2008-2010 Alberto Gomez-Casado
+# Copyright (C) 2008-2012 Alberto Gomez-Casado <a.gomezcasado@tnw.utwente.nl>
# Massimo Sandal <devicerandom@gmail.com>
# W. Trevor King <wking@drexel.edu>
#
params['output'] = 'default'
if params['output'] != None:
params['output'] = os.path.join(
- self.plugin.config['path'], params['output'])
+ os.path.expanduser(self.plugin.config['path']),
+ params['output'])
return params
class LoadCommand (CommandStackCommand):
params['input'] = 'default'
if params['input'] != None:
params['input'] = os.path.join(
- self.plugin.config['path'], params['input'])
+ os.path.expanduser(self.plugin.config['path']),
+ params['input'])
return params