mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
Merge pull request #1459 from clinton-hall/hotfix/gitless
Hotfix/gitless
This commit is contained in:
commit
366197a3ce
1 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,8 @@ def clean_bytecode():
|
|||
print(result)
|
||||
except subprocess.CalledProcessError as error:
|
||||
sys.exit('Error Code: {}'.format(error.returncode))
|
||||
except OSError as error:
|
||||
sys.exit('Error: {}'.format(error))
|
||||
else:
|
||||
return result
|
||||
|
||||
|
@ -68,6 +70,8 @@ def clean_folders(*paths):
|
|||
)
|
||||
except subprocess.CalledProcessError as error:
|
||||
sys.exit('Error Code: {}'.format(error.returncode))
|
||||
except OSError as error:
|
||||
sys.exit('Error: {}'.format(error))
|
||||
else:
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue