use os.path.join everywhere

This commit is contained in:
Stefaan Lippens 2017-08-30 18:13:12 +02:00
parent 0f8b5df808
commit 5588342001

View File

@ -60,7 +60,7 @@ class PublishCommand(Command):
def run(self): def run(self):
try: try:
self.status('Removing previous builds…') self.status('Removing previous builds…')
rmtree(os.sep.join(('.', 'dist'))) rmtree(os.path.join(here, 'dist'))
except FileNotFoundError: except FileNotFoundError:
pass pass