Merge branch 'haruhi-dl/haruhi-dl/mr-4' into 'master'
Drop python2 in bin file See merge request laudompat/haruhi-dl!2
This commit is contained in:
commit
37d16d8dbf
|
@ -1,6 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import haruhi_dl
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
if sys.version_info[0] == 2:
|
||||
sys.exit('haruhi-dl no longer works on Python 2, use Python 3 instead')
|
||||
else:
|
||||
import haruhi_dl
|
||||
haruhi_dl.main()
|
||||
|
|
Loading…
Reference in a new issue