blavejr / OrganiseDesktop

Python script that cleans up a messy desktop
MIT License
92 stars 77 forks source link

The option "undo" don't working #70

Closed wescley closed 4 years ago

wescley commented 5 years ago

Hi,

Good Nigth!

I tried to execute the program. It cleaned my desktop, but when i tryied to execute the option "undo" nothing happening.

Holds

blavejr commented 5 years ago

Hey @wescley I havent looked at this code for a while but if you would like to try and solve this issue that would be highly appreciated.

KokoseiJ commented 4 years ago

@blavejr This might be necropost, but I've found the issue. The problem is this line in the function undo: if environ.get('TEST_DIR') != '': I guess this value is None or something like that, which is not same as empty string, I guess? You can fix this by changing that line to: if environ.get('TEST_DIR'):. I've tested, now it works well.

KokoseiJ commented 4 years ago

Fixed in PR #79. I'll close this issue.