Spaces:
Runtime error
Runtime error
thejagstudio
commited on
Commit
•
908e0d4
1
Parent(s):
29f2a23
Update home/views.py
Browse files- home/views.py +2 -1
home/views.py
CHANGED
@@ -16,6 +16,8 @@ import requests
|
|
16 |
import geocoder
|
17 |
import folium
|
18 |
from oauth2client import client
|
|
|
|
|
19 |
gauth = GoogleAuth()
|
20 |
content = os.environ.get('token')
|
21 |
gauth.credentials = client.Credentials.new_from_json(content)
|
@@ -29,7 +31,6 @@ DRIVE = GoogleDrive(gauth)
|
|
29 |
|
30 |
def torrentDownloader(link):
|
31 |
print(link)
|
32 |
-
import libtorrent as lt
|
33 |
ses = lt.session()
|
34 |
ses.listen_on(6881, 6891)
|
35 |
params = {
|
|
|
16 |
import geocoder
|
17 |
import folium
|
18 |
from oauth2client import client
|
19 |
+
import libtorrent as lt
|
20 |
+
|
21 |
gauth = GoogleAuth()
|
22 |
content = os.environ.get('token')
|
23 |
gauth.credentials = client.Credentials.new_from_json(content)
|
|
|
31 |
|
32 |
def torrentDownloader(link):
|
33 |
print(link)
|
|
|
34 |
ses = lt.session()
|
35 |
ses.listen_on(6881, 6891)
|
36 |
params = {
|