Removing unused imports and an unused media_files dict reference
This commit is contained in:
parent
bbd7112a5e
commit
1d1276be79
@ -13,9 +13,7 @@
|
|||||||
#
|
#
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
import chardet
|
|
||||||
import os
|
import os
|
||||||
import Image
|
|
||||||
import logging
|
import logging
|
||||||
import dateutil.parser
|
import dateutil.parser
|
||||||
from subprocess import STDOUT, check_output, call, CalledProcessError
|
from subprocess import STDOUT, check_output, call, CalledProcessError
|
||||||
@ -236,8 +234,6 @@ def process_pdf(proc_state):
|
|||||||
queued_filename = proc_state.get_queued_filename()
|
queued_filename = proc_state.get_queued_filename()
|
||||||
name_builder = FilenameBuilder(queued_filename)
|
name_builder = FilenameBuilder(queued_filename)
|
||||||
|
|
||||||
media_files_dict = entry.setdefault('media_files', {})
|
|
||||||
|
|
||||||
# Copy our queued local workbench to its final destination
|
# Copy our queued local workbench to its final destination
|
||||||
original_dest = name_builder.fill('{basename}{ext}')
|
original_dest = name_builder.fill('{basename}{ext}')
|
||||||
proc_state.copy_original(original_dest)
|
proc_state.copy_original(original_dest)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user