Skip to content

Commit

Permalink
Folder Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rafay-pk committed May 5, 2023
1 parent 0a9ea3e commit 0af2b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def __init__(self):
self.dock_folders.setWidget(self.folders)
self.fileSystem = QFileSystemModel()
self.folder_path = os.getcwd().replace("\\", '/') + "/data/folders/"
import shutil
shutil.rmtree(self.folder_path) #DEV
# import shutil
# shutil.rmtree(self.folder_path) #DEV
os.makedirs(self.folder_path, exist_ok=True)
self.fileSystem.setRootPath(self.folder_path)
self.fileSystem.setFilter(QDir.Filter.Dirs | QDir.Filter.NoDotAndDotDot)
Expand Down

0 comments on commit 0af2b26

Please sign in to comment.