Reused functions, and a couple import wildcards

pull/6/head
deathbybandaid 3 years ago
parent 2715e3adaa
commit 34e9e0713e

@ -4,13 +4,11 @@ import webbrowser
from plexapi.server import PlexServer
import requests
import PrerollUpdate
import os
from os.path import exists
from configparser import *
import json
import time
starttime = time.time()
@ -689,6 +687,7 @@ class Rollarr(App):
# a list() of filenames and folders is returned
self.WeekPath.set_value(';'.join(filelist))
"""
def open_fileselection_dialogPath(self, widget):
self.fileselectionDialog = gui.FileSelectionDialog('File Selection Dialog', 'Select files and folders',
True, '.', True, False)
@ -700,6 +699,7 @@ class Rollarr(App):
def on_fileselection_dialog_confirmPath(self, widget, filelist):
# a list() of filenames and folders is returned
self.WeekPath.set_value(';'.join(filelist))
"""
def open_fileselection_dialogPath1(self, widget):
self.fileselectionDialog = gui.FileSelectionDialog('File Selection Dialog', 'Select files and folders',

@ -1,10 +1,9 @@
import json
import datetime
import requests
from dateutil.easter import *
from dateutil.easter import easter
from plexapi.server import PlexServer
import os
from configparser import *
def update():

Loading…
Cancel
Save