handling redis err
This commit is contained in:
parent
0083bfbb32
commit
29d88ffc30
1
run.py
1
run.py
@ -254,6 +254,7 @@ if __name__ == '__main__':
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Cannot connect to redis...")
|
print("Cannot connect to redis...")
|
||||||
print(e)
|
print(e)
|
||||||
|
sys.exit(9)
|
||||||
username = os.getenv('INSTAGRAM_USER')
|
username = os.getenv('INSTAGRAM_USER')
|
||||||
password = os.getenv('INSTAGRAM_PASS')
|
password = os.getenv('INSTAGRAM_PASS')
|
||||||
ig_client = login(username, password)
|
ig_client = login(username, password)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user