about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xradio7
-rw-r--r--todo.org3
2 files changed, 2 insertions, 8 deletions
diff --git a/radio b/radio
index d15ea1a..a0c58d6 100755
--- a/radio
+++ b/radio
@@ -1002,11 +1002,8 @@ main() {
 
     Sys:depcheck
 
-    if (( _load_options )) && Config:read; then
-        Config:load_options
-    else
-        Config:create
-    fi
+    Config:read || Config:create
+    (( _load_options )) && Config:load_options
 
     Sys:depcheck fw:"$_config_file_location"
 
diff --git a/todo.org b/todo.org
index de28ac1..c9da3ad 100644
--- a/todo.org
+++ b/todo.org
@@ -2,9 +2,6 @@
 * TODO ~ radio script 2.1
 
 - [ ] better code organization
-  - [X] global variables naming convention: _ prefix
-  - [X] different function naming scheme
-    - Parent::fname()
   - generalize some functions
     - e.g. Streamer:get|set
 - [ ] Dependencies: Write down all executables called from environment