create .gajim dir if it doesn't exist
This commit is contained in:
parent
fff37fe869
commit
8e4131fc93
|
@ -157,7 +157,11 @@ if os.path.exists(pid_filename):
|
|||
os.remove(pid_filename)
|
||||
dialog.destroy()
|
||||
|
||||
# Create pif file
|
||||
# Create .gajim dir
|
||||
pid_dir = os.path.dirname(pid_filename)
|
||||
if not os.path.exists(pid_dir):
|
||||
check_paths.create_path(pid_dir)
|
||||
# Create pid file
|
||||
f = open(pid_filename, 'a')
|
||||
f.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue