Skip to content

Commit

Permalink
バグ修正
Browse files Browse the repository at this point in the history
  • Loading branch information
creeper-0910 authored Jun 18, 2022
1 parent fff8dc7 commit 4fb4279
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Move_Profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,13 @@ def start_copy():


def copy():
progressbar.set(0)
if (confirm_chk):
shutil.rmtree(moving_dir + '/Profiles/' + move_path)
progressbar.set(20)
if not(os.path.exists(moving_dir)):
os.makedirs(apd + '/Ablaze\Floorp\Profiles', exist_ok=True)
f = open(moving_dir + '/profiles.ini', 'w')
progressbar.set(50)
f.writelines(prof_list)
f.close()
progressbar.set(60)
try:
shutil.copytree(apd + '/Mozilla/Firefox/Profiles/' + move_path, moving_dir + '/Profiles/' + move_path)
except FileExistsError:
Expand Down

0 comments on commit 4fb4279

Please sign in to comment.