From b3540df7786e837daa16337f522c4d06ca8cbe4f Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Fri, 9 Mar 2018 19:01:43 +0100 Subject: [PATCH] string error fix --- streambot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streambot.py b/streambot.py index 376d19b..6221f45 100644 --- a/streambot.py +++ b/streambot.py @@ -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)