1
0
Fork 0
mirror of synced 2024-07-01 04:20:55 +12:00

Merge branch 'debug-toolbar' into dev

This commit is contained in:
Nick Sweeting 2021-03-27 05:29:15 -04:00
commit 63919dc90a
2 changed files with 4 additions and 5 deletions

View file

@ -213,7 +213,6 @@ class SnapshotAdmin(SearchResultsAdminMixin, admin.ModelAdmin):
delete_snapshots.short_description = "Delete" delete_snapshots.short_description = "Delete"
def add_tag(self, request, queryset): def add_tag(self, request, queryset):
if tag and tag.id:
tag = request.POST['tag'] tag = request.POST['tag']
for obj in queryset: for obj in queryset:
obj.tags.add(tag) obj.tags.add(tag)

View file

@ -23,7 +23,7 @@ if [[ -d "$DATA_DIR/archive" ]]; then
fi fi
else else
# create data directory # create data directory
mkdir -p "$DATA_DIR" mkdir -p "$DATA_DIR/logs"
chown -R $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR" chown -R $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"
fi fi
chown $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR" chown $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"