you don't have to have this switch, let os.path.join handle it:

```python
In [1]: os.path.join('a', 'b')
Out[1]: 'a/b'

In [2]: os.path.join('a', '/b')
Out[2]: '/b'
```