Commit eb098bc3 authored by John's avatar John
Browse files

Fixed minor bugs

parent 0d2cac39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ class SourceBase:
            if not self.title:

                #  filter url for illegal characters
                _url = self.url.translate({ord(c): None for c in '\/:*?"<>|'})
                _url = self.url.translate({ord(c): None for c in '\./:*?"<>|'})
                self.path = rf'{SOURCE_DOWNLOAD_PATH}\{_url}'

            else:
+3 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ import time
from typing import Union, List, Dict, Callable
import numpy as np
import traceback
import os.path as osp

from qtpy.QtCore import QThread, Signal, QObject, QLocale
from qtpy.QtWidgets import QMessageBox
@@ -581,6 +582,7 @@ class DLManager(QObject):
        manga.run(url=url, force_redownload=force_redownload, title=title)
        proj_path = manga.ReturnFullPathToProject()
        LOGGER.info(proj_path)
        if proj_path:
            self.imgtrans_proj.load(proj_path)