mirror of https://github.com/evilhero/mylar
FIX:(#1720) Incorrect appending of unicode path when running Scan on Windows OS
This commit is contained in:
parent
2420a33dd6
commit
edfdf98271
|
@ -3523,7 +3523,7 @@ class WebInterface(object):
|
||||||
|
|
||||||
#save the values so they stick.
|
#save the values so they stick.
|
||||||
mylar.ADD_COMICS = autoadd
|
mylar.ADD_COMICS = autoadd
|
||||||
if 'windows' in mylar.OS_DETECT.lower():
|
if 'windows' in mylar.OS_DETECT.lower() and '\\\\?\\' not in path:
|
||||||
#to handle long paths, let's append the '\\?\' to the path to allow for unicode windows api access
|
#to handle long paths, let's append the '\\?\' to the path to allow for unicode windows api access
|
||||||
path = "\\\\?\\" + path
|
path = "\\\\?\\" + path
|
||||||
mylar.COMIC_DIR = path
|
mylar.COMIC_DIR = path
|
||||||
|
|
Loading…
Reference in New Issue