Using puts instead of p
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
.local
|
||||
.config
|
||||
.project
|
||||
*.pid
|
||||
|
||||
@@ -28,7 +28,7 @@ class InSyncState < StatePattern::State
|
||||
# did we reach the end of the frame?
|
||||
if new_frame_starts(bytes,idx,sync_pattern_length)
|
||||
frame_lines = frame.split("\n")
|
||||
p "------ FRAME -----"
|
||||
puts "--- FRAME ---"
|
||||
# p frame_lines
|
||||
# p "##################"
|
||||
reading = handle_frame(frame_lines)
|
||||
|
||||
@@ -6,6 +6,8 @@ services:
|
||||
image: mysql
|
||||
volumes:
|
||||
- /home/pcog/smartmeter/data:/var/lib/mysql
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: rootme
|
||||
MYSQL_DATABASE: smartmeter
|
||||
|
||||
Reference in New Issue
Block a user