Permalink
Browse files

os.path.expanduser() on tmp

  • Loading branch information...
1 parent 8f07fb0 commit be2af7e5fb73d024878a46a5ada1393757ffc5eb @dryes-old dryes-old committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rsigh.py
View
@@ -381,7 +381,7 @@ def main():
sys.exit(1)
global temp
- temp = os.path.normpath(args['tmp_dir']) + os.sep + 'rsigh-tmp-' + str(os.getpid()) + os.sep
+ temp = os.path.normpath(os.path.expanduser(args['tmp_dir'])) + os.sep + 'rsigh-tmp-' + str(os.getpid()) + os.sep
filename = str(uuid.uuid4())
while volcheck(sqlite, filename) == False:

0 comments on commit be2af7e

Please sign in to comment.