Tentatively support Python 3 while that is being worked on
This commit is contained in:
1 parent
c66b451efd
commit
5b4f4e3d77
1 file changed
+3
-3
@@ -2,9 +2,9 @@
|
||||
# coding=utf-8
|
||||
from __future__ import absolute_import, division, print_function
|
||||
|
||||
import sys
|
||||
if sys.version_info[0] >= 3:
|
||||
raise RuntimeError("Sorry, OctoPrint does not yet support Python 3")
|
||||
#import sys
|
||||
#if sys.version_info[0] >= 3:
|
||||
# raise RuntimeError("Sorry, OctoPrint does not yet support Python 3")
|
||||
|
||||
if __name__ == "__main__":
|
||||
import octoprint
|
||||
|
||||
Reference in new issue
Block a user