Skip to content

Commit

Permalink
Fix: Error when extract 7z
Browse files Browse the repository at this point in the history
  • Loading branch information
ollm committed Aug 15, 2023
1 parent c4e5eaf commit 501830a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/file-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,6 @@ var fileCompressed = function(path, _realPath = false) {

if(unzip === false) unzip = require('unzipper');

console.log(this.realPath);

this.zip = await unzip.Open.file(this.realPath);

return this.zip;
Expand Down Expand Up @@ -1152,7 +1150,7 @@ var fileCompressed = function(path, _realPath = false) {

_7z.on('data', function(data) {

let extracted = data.status == 'extracted' ? true : false;
let extract = data.status == 'extracted' ? true : false;

if(extract)
{
Expand Down Expand Up @@ -1539,8 +1537,6 @@ var fileCompressed = function(path, _realPath = false) {

let status = this.getFileStatus(file);

console.log('renderCanvasPdf', file/*, status*/);

if((status && status.widthRendered !== this.config.width) || this.config.force)
{
// Render page
Expand Down

0 comments on commit 501830a

Please sign in to comment.