Commits

sodas tsai  committed b6af3f7

0.2.3

  • Participants
  • Parent commits e79d20a

Comments (0)

Files changed (2)

File ground_soil/__init__.py

 
 from __future__ import unicode_literals
 
-__version__ = '0.2.3'
+__version__ = '0.2.4'
 VERSION = tuple(map(lambda x: int(x), __version__.split('.')))

File ground_soil/filesystem.py

     if not os.path.exists(os_temp_dir):
         os.mkdir(os_temp_dir)
     # Make temporary folder in room
-    prefix = (prefix if prefix or 'tmp') + '~'
+    prefix = (prefix if prefix else 'tmp') + '~'
     suffix = ('~' + suffix) if suffix else None
-    path = tempfile.mkdtemp(prefix=prefix, dir=os_temp_dir, suffix=suffix))
+    path = tempfile.mkdtemp(prefix=prefix, dir=os_temp_dir, suffix=suffix)
 
     try:
         yield path