Skip to content

Commit

Permalink
merge v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
letsgetrandy committed Jun 30, 2013
1 parent 4ebeb16 commit a91c8ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/specter
Expand Up @@ -149,10 +149,12 @@ for arg in SYS_ARGS:
path = os.path.abspath(arg)
if path.find(conf['paths']['testroot']) == 0:
path = path.replace(conf['paths']['testroot'], "")
if len(path) == 0:
path = '.'
if path[0] == os.path.sep:
path = path[1:]
if len(path) == 0:
path = "."
if len(path) == 0:
path = '.'
conf['args']['specter'].append(path)
else:
conf['args']['specter'].append(arg)
Expand Down

0 comments on commit a91c8ee

Please sign in to comment.