Skip to content

Commit

Permalink
Fix ModuleNotFoundError: No module named 'resource.resource_rc'; 'res…
Browse files Browse the repository at this point in the history
…ource' is not a package
  • Loading branch information
chenmozhijin committed Apr 13, 2024
1 parent 9a7887b commit 69bede2
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LDDC.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
__version__ = "v0.6.2"
import logging
import os
import resource.resource_rc
import sys
import time

Expand All @@ -30,6 +29,7 @@
from view.local_match import LocalMatchWidget
from view.search import SearchWidget
from view.setting import SettingWidget
import res.resource_rc

current_directory = os.path.dirname(os.path.abspath(__file__))

Expand All @@ -51,7 +51,7 @@
threadpool = QThreadPool()
logging.debug(f"最大线程数: {threadpool.maxThreadCount()}")

resource.resource_rc.qInitResources()
res.resource_rc.qInitResources()


class MainWindow(SidebarWindow):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit 69bede2

Please sign in to comment.