diff --git a/src/gajim.py b/src/gajim.py index c9da401ec..c93166a75 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -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()