mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Correct call to os.getcwd()
This commit is contained in:
parent
c0e9f89ea3
commit
66ca32532e
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ elif packed == 1: ## unpack
|
|||
|
||||
## Running..
|
||||
print("INFO: Extracting %s %s %s %s", cmd[0], cmd[1], fp, destination)
|
||||
pwd = os.getcwd # Get our Present Working Directory
|
||||
pwd = os.getcwd() # Get our Present Working Directory
|
||||
os.chdir(destination) #not all unpack commands accept full paths, so just extract into this directory.
|
||||
if os.name == 'nt': #Windows needs quotes around directory structure
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue