Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8100dd71c | ||
|
|
271fcff31d | ||
|
|
e4f557dd2b | ||
|
|
6a24b59eac | ||
|
|
bc3cc76ea3 | ||
|
|
51506dcec0 | ||
|
|
bd52d4e908 | ||
|
|
a2644a6bfb | ||
|
|
de280cfa8c |
@@ -15,5 +15,4 @@ Download and extract the [latest release](https://github.com/sugoidogo/obs-start
|
||||
3. ...
|
||||
4. Profit?
|
||||
## Support
|
||||
- Get support via [Discord](https://discord.gg/zxDnYSvMNw)
|
||||
- Give support via [PayPal](https://paypal.me/SugoiDogo)
|
||||
Support information for all my software is on my [GitHub profile](https://github.com/sugoidogo)
|
||||
|
||||
+6
-1
@@ -16,6 +16,8 @@ def apiCall(requestInfo):
|
||||
#print(response)
|
||||
return response
|
||||
except HTTPError as error:
|
||||
if(error.code==401):
|
||||
return get_token()
|
||||
stderr.write(vars(requestInfo)+'\n')
|
||||
stderr.write(error.read().decode()+'\n')
|
||||
raise error
|
||||
@@ -74,9 +76,12 @@ def main():
|
||||
command=command.replace('$USER_INPUT',response['data'][0]['user_input'])
|
||||
print(command)
|
||||
from os.path import dirname
|
||||
subprocess.Popen(command,cwd=dirname(command))
|
||||
subprocess.Popen(command,cwd=dirname(command),shell=True)
|
||||
except KeyError:
|
||||
pass
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
time.sleep(1)
|
||||
|
||||
def get_token():
|
||||
|
||||
Reference in New Issue
Block a user