Skip to content

Commit

Permalink
Merge pull request #29 from emresvd/patch-1
Browse files Browse the repository at this point in the history
Update test.py
  • Loading branch information
dermasmid authored Jun 12, 2023
2 parents 1f7df28 + b080b6e commit 0e31634
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/test.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
import sys
import os
import platform

if platform.system() == "Windows":
separator = "\\"
else:
separator = "/"

sys.path.insert(
0, "/".join(os.path.dirname(os.path.realpath(__file__)).split(separator)[:-1])
0, "/".join(os.path.dirname(os.path.realpath(__file__)).split(os.sep)[:-1])
)

import scrapetube
Expand Down

0 comments on commit 0e31634

Please sign in to comment.