string error fix

This commit is contained in:
mb@mb 2018-03-09 19:01:43 +01:00
parent c7e1df4bb5
commit b3540df778

View File

@ -72,7 +72,7 @@ class ArchivistBot(ClientXMPP):
filename = os.path.basename(msg['oob']['url'])
targetDir = self.datadir
if not os.path.exists(targetDir):
os.mkdir( targetDir, 0755 )
os.mkdir( targetDir, '0755' )
targetFile = os.path.join(targetDir, filename)