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