[pitivi] Fix crash if $HOME/.local/share doesn't exist. Fixes #587371.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] Fix crash if $HOME/.local/share doesn't exist. Fixes #587371.
- Date: Wed, 1 Jul 2009 06:47:53 +0000 (UTC)
commit 577678e27de4e78034866c211293c8df41f51b22
Author: Alessandro Decina <alessandro d gmail com>
Date: Tue Jun 30 11:14:04 2009 +0200
Fix crash if $HOME/.local/share doesn't exist. Fixes #587371.
pitivi/settings.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/settings.py b/pitivi/settings.py
index 8c44e21..5cadef7 100644
--- a/pitivi/settings.py
+++ b/pitivi/settings.py
@@ -76,7 +76,7 @@ def get_env_default(var, default):
def get_dir(path, autocreate=True):
if autocreate and not os.path.exists(path):
- os.mkdir(path)
+ os.makedirs(path)
return path
def get_dirs(glob):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]