bugfix verbose mode

This commit is contained in:
Jan Laukemann
2017-10-13 17:02:22 +02:00
parent a88021ce8b
commit b112bbad45

View File

@@ -243,7 +243,7 @@ class Osaca(object):
"""
# For testing
print(os.path.isfile(self.filepath))
p = self.filepath.split('/')
p = '/'.join(self.filepath.split('/')[:-1])
p = (subprocess.run(['ls', p],
stdout=subprocess.PIPE).stdout.decode('utf-8'))
print(p)