Skip to content

Commit 5def9ea

Browse files
Sound Recorder and Music Player apps: simplify imports
1 parent b529431 commit 5def9ea

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

internal_filesystem/apps/com.micropythonos.musicplayer/assets/music_player.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import os
33
import time
44

5-
from mpos import Activity, Intent, sdcard, get_event_name
6-
import mpos.audio.audioflinger as AudioFlinger
5+
from mpos import Activity, Intent, sdcard, get_event_name, audio as AudioFlinger
76

87
class MusicPlayer(Activity):
98

internal_filesystem/apps/com.micropythonos.soundrecorder/assets/sound_recorder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import os
33
import time
44

5-
from mpos import Activity, ui
6-
import mpos.audio.audioflinger as AudioFlinger
5+
from mpos import Activity, ui, audio as AudioFlinger
76

87

98
def _makedirs(path):

0 commit comments

Comments
 (0)