mirror of
https://github.com/mon/ifstools.git
synced 2024-11-30 19:54:27 +01:00
Fix py2 (closes #4)
This commit is contained in:
parent
57045b482a
commit
1767a83033
@ -1,5 +1,11 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
try:
|
||||||
|
# py 2
|
||||||
|
input = raw_input
|
||||||
|
except NameError:
|
||||||
|
# py 3
|
||||||
|
pass
|
||||||
|
|
||||||
from ifs import IFS
|
from ifs import IFS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user