clinton-hall / GetScripts

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

fixing bugs in flatten.py #23

Closed ohrodr closed 5 years ago

ohrodr commented 5 years ago

There was some runtime bugs in flatten.py due to key errors when NZBPO_DESTINATIONDIRECTORY wasn't set. It seemed that was optional, so i changed some hash functions to get, to ensure no more exceptions were thrown. Tested and works fine without NZBPO_DESTINATIONDIRECTORY set.