mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
48b6e3d42f
commit
cad47638f8
@ -12,7 +12,7 @@ if 'CALIBRE_SHOW_DEPRECATION_WARNINGS' not in os.environ:
|
||||
warnings.simplefilter('ignore', DeprecationWarning)
|
||||
try:
|
||||
os.getcwdu()
|
||||
except:
|
||||
except EnvironmentError:
|
||||
os.chdir(os.path.expanduser('~'))
|
||||
|
||||
from calibre.constants import (iswindows, isosx, islinux, isfrozen,
|
||||
|
Loading…
x
Reference in New Issue
Block a user