chiark / gitweb /
Ensure repo directory is created in new setup
authorCiaran Gultnieks <ciaran@ciarang.com>
Thu, 27 Sep 2012 12:16:52 +0000 (13:16 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Thu, 27 Sep 2012 12:16:52 +0000 (13:16 +0100)
fdroidserver/update.py

index 548060593e95acc47572f87c40b5d75c952f6e1c..3d9e616221a38a725c3745368dc16823c229b3eb 100644 (file)
@@ -210,7 +210,7 @@ def main():
     if options.clean and os.path.exists(icon_dir):
         shutil.rmtree(icon_dir)
     if not os.path.exists(icon_dir):
-        os.mkdir(icon_dir)
+        os.makedirs(icon_dir)
 
     warnings = 0