Skip to content

Commit

Permalink
V0.44.1 Fixed Bug where files could not be renamed with just a case c…
Browse files Browse the repository at this point in the history
…hange
  • Loading branch information
domhnallmorr committed Dec 9, 2022
1 parent c6b7f2c commit 2491396
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Binary file modified src/controller/__pycache__/controller.cpython-39.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion src/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def new_edit_file_folder(self, mode, initialvalue, branch_id):
break

# ------------- MAKE SURE FILE DOES NOT EXIST ALREADY
if mode in ["edit_file", "new_file", "new_excel", "new_word", "edit_folder"]:
if mode in ["new_file", "new_excel", "new_word"]:
if os.path.isfile(os.path.join(current_directory, name_input)) or os.path.isdir(os.path.join(current_directory, name_input)):
msg = "That File/Folder Already Exists"

Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, parent, *args, **kwargs):
self.controller = controller.Controller(root, parent, self)

# ----------------- VERSION -----------------------
self.version = "0.44.0"
self.version = "0.44.1"
# ----------------- WEEK NUMBER -----------------------
year, week_num, day_of_week = datetime.date.today().isocalendar()

Expand Down
4 changes: 2 additions & 2 deletions src/tk_path_finder_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
]
],
"session_data": {
"nVFhe31k": {
"l3UgVMrU": {
"text": "0",
"branch_tabs": {
"b1HzuMWF": {
"TjuBYz9Z": {
"text": "src",
"directory": "C:\\Users\\domhn\\Documents\\Python\\Tk Path Finder\\src"
}
Expand Down
8 changes: 4 additions & 4 deletions src/tk_path_finder_config_backup1.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
]
],
"session_data": {
"cSM2fTww": {
"KbIxM0Cg": {
"text": "0",
"branch_tabs": {
"8R6nxKac": {
"text": "src",
"directory": "C:\\Users\\domhn\\Documents\\Python\\Tk Path Finder\\src"
"R8nDoeuv": {
"text": "Python",
"directory": "C:\\Users\\domhn\\Documents\\Python"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/tk_path_finder_config_backup2.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
]
],
"session_data": {
"ycPsNkIr": {
"yf2gsz88": {
"text": "0",
"branch_tabs": {
"wgAdCzOK": {
"text": "src",
"directory": "C:\\Users\\domhn\\Documents\\Python\\Tk Path Finder\\src"
"h45pN81D": {
"text": "Python",
"directory": "C:\\Users\\domhn\\Documents\\Python"
}
}
}
Expand Down

0 comments on commit 2491396

Please sign in to comment.