clinton-hall / GetScripts

A Collection of NZBGet Post-Process Scripts
GNU General Public License v2.0
100 stars 39 forks source link

fix for issue i had when configuring flatten.py #21

Closed seththetech closed 5 years ago

seththetech commented 5 years ago

Not 100% sure what the intent of this move-file-loop continue statement is but I was having an issue when configuring flatten.py in nzbget where my files were not getting moved to the folder I set in the DestinationDirectory setting.

clinton-hall commented 5 years ago

The flatten is only supposed to run on the origin directory, not the destination. The continue is there to not try and cleanup the root directory, but only flatten everything in the sub directories.