# HG changeset patch # User cmlenz # Date 1124355189 0 # Node ID 75a6af157f05a63de9d92275314f9e76fd6de73f # Parent 4289fa18de0f09d2962da19f59ebda86945b04be Actually create the snapshots directory when the Bitten plugin is installed. Fixes #39. diff --git a/bitten/trac_ext/main.py b/bitten/trac_ext/main.py --- a/bitten/trac_ext/main.py +++ b/bitten/trac_ext/main.py @@ -47,7 +47,8 @@ "VALUES ('bitten_version',%s)", (schema_version,)) # Create the directory for storing snapshot archives - tarballs_dir = os.path.join(self.env.path, 'snapshots') + snapshots_dir = os.path.join(self.env.path, 'snapshots') + os.mkdir(snapshots_dir) db.commit()