Skip to content

Commit

Permalink
Update update.py
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorhobenshield authored Dec 6, 2023
1 parent 11da3a4 commit f15d0e2
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions scripts/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,16 @@
from twitter.constants import *

try:
if get_ipython().__class__.__name__ == 'ZMQInteractiveShell':
import nest_asyncio

nest_asyncio.apply()
import nest_asyncio
nest_asyncio.apply()
except:
...

if platform.system() != 'Windows':
try:
import uvloop

uvloop.install()
except ImportError as e:
...
try:
import uvloop
uvloop.install()
except:
...

STRINGS = Path('strings.txt')
PATHS = Path('paths.txt')
Expand Down

0 comments on commit f15d0e2

Please sign in to comment.