14 lines
533 B
Text
14 lines
533 B
Text
# sys.platform return openbsd, not unix here
|
|
|
|
Index: dxf2gcode/globals/config.py
|
|
--- dxf2gcode/globals/config.py.orig
|
|
+++ dxf2gcode/globals/config.py
|
|
@@ -53,7 +53,7 @@ old versions are recognized and skipped"
|
|
"""
|
|
|
|
# Paths change whether platform is Linux or Windows
|
|
-if "linux" in sys.platform.lower() or "unix" in sys.platform.lower():
|
|
+if "linux" in sys.platform.lower() or "openbsd" in sys.platform.lower():
|
|
#Declare here the path that are specific to Linux
|
|
IMPORT_DIR = "~/Documents"
|
|
OUTPUT_DIR = "~/Documents"
|