Added args/kwargs to function

This commit is contained in:
Anton Hvornum 2019-11-18 20:10:38 +00:00
parent c2a2e1e5d0
commit 1ae1c764ba
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@ def cache_diskpw_on_disk():
with open(args['pwfile'], 'w') as pw:
pw.write(args['password'])
def refresh_partition_list(drive):
def refresh_partition_list(drive, *args, **kwargs):
args['paritions'] = get_partitions(drive)
if __name__ == '__main__':