Fix "tootctl media remove-orphans" crashing on “Import” files (#13685)
* Fix "tootctl media remove-orphans" crashing on “Import” files * Also remove empty directories when removing orphaned media
This commit is contained in:
parent
38b69512ff
commit
34756cc4e0
2 changed files with 10 additions and 1 deletions
|
@ -19,4 +19,6 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|||
inflect.acronym 'ActivityStreams'
|
||||
inflect.acronym 'JsonLd'
|
||||
inflect.acronym 'NodeInfo'
|
||||
|
||||
inflect.singular 'data', 'data'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue