Compare commits

...

2 Commits
1.2.1 ... 1.2.2

Author SHA1 Message Date
Safihre
555d8418e7 Update text files for 1.2.2 2017-02-25 22:12:34 +01:00
Safihre
8c22e35da4 Script paths were not clipped correctly 2017-02-25 22:07:25 +01:00
3 changed files with 10 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
Metadata-Version: 1.0
Name: SABnzbd
Version: 1.2.1
Summary: SABnzbd-1.2.1
Version: 1.2.2
Summary: SABnzbd-1.2.2
Home-page: http://sabnzbd.org
Author: The SABnzbd Team
Author-email: team@sabnzbd.org

View File

@@ -1,6 +1,9 @@
Release Notes - SABnzbd 1.2.1
Release Notes - SABnzbd 1.2.2
==============================================
## Bug fix in 1.2.2
- Windows: job-directory incorrectly passed to PostProcessing-script
## What's new in 1.2.1
- QuickCheck will perform fast rename of obfuscated posts
- RSS Downloaded page now shows icon to indicate source

View File

@@ -468,9 +468,11 @@ def process_job(nzo):
script_path = make_script_path(script)
if (all_ok or not cfg.safe_postproc()) and (not nzb_list) and script_path:
# For windows, we use Short-Paths until 2.0.0 for compatibility
if sabnzbd.WIN32 and len(workdir_complete) > 259:
if sabnzbd.WIN32:
import win32api
workdir_complete = win32api.GetShortPathName(workdir_complete)
workdir_complete = clip_path(workdir_complete)
if len(workdir_complete) > 259:
workdir_complete = win32api.GetShortPathName(workdir_complete)
# set the current nzo status to "Ext Script...". Used in History
nzo.status = Status.RUNNING