mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-28 01:58:11 -07:00
Format
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
# Flipper Zero SUB-GHZ Playlist Generator
|
||||
import os
|
||||
import pip
|
||||
|
||||
try:
|
||||
from easygui import diropenbox
|
||||
except ImportError:
|
||||
pip.main(['Install'], "easygui")
|
||||
pip.main(["Install"], "easygui")
|
||||
from easygui import diropenbox
|
||||
|
||||
|
||||
def main():
|
||||
folder_path = diropenbox("Select the folder with Subghz files", "Subghz selector")
|
||||
output_path = diropenbox("Select your output location", "Output location")
|
||||
@@ -23,5 +25,6 @@ def main():
|
||||
playlist_file.close()
|
||||
print("Done!")
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user