Tentatively support Python 3 while that is being worked on

This commit is contained in:
Gina Häußge committed 2018-12-19 13:36:55 +01:00
1 parent c66b451efd
commit 5b4f4e3d77
1 file changed
+3 -3
+3 -3
View File
@@ -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